Update configuration files
This commit is contained in:
parent
cfd52a6831
commit
9f65809479
3
nvimrc
3
nvimrc
|
@ -471,6 +471,7 @@ require 'nvim-treesitter.configs'.setup {
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = {"vim"},
|
disable = {"vim"},
|
||||||
|
additional_vim_regex_highlighting = true,
|
||||||
},
|
},
|
||||||
incremental_selection = {
|
incremental_selection = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
@ -509,9 +510,9 @@ require 'nvim-treesitter.configs'.setup {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
refactor = {
|
refactor = {
|
||||||
|
enable = true,
|
||||||
-- TODO: navigation broken.
|
-- TODO: navigation broken.
|
||||||
navigation = {
|
navigation = {
|
||||||
enable = true,
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
goto_next_usage = "]r",
|
goto_next_usage = "]r",
|
||||||
goto_previous_usage = "[r",
|
goto_previous_usage = "[r",
|
||||||
|
|
|
@ -43,6 +43,8 @@ let g:go_highlight_diagnostic_errors = 0
|
||||||
let g:go_highlight_diagnostic_warnings = 0
|
let g:go_highlight_diagnostic_warnings = 0
|
||||||
let g:go_highlight_trailing_whitespace_error=0
|
let g:go_highlight_trailing_whitespace_error=0
|
||||||
|
|
||||||
|
let g:go_fmt_command = 'goimports'
|
||||||
|
|
||||||
" g:go_statusline_duration doesn't seem to work accurately, but does help
|
" g:go_statusline_duration doesn't seem to work accurately, but does help
|
||||||
" reduce the time the build/test success messages are shown in the status
|
" reduce the time the build/test success messages are shown in the status
|
||||||
" line.
|
" line.
|
||||||
|
|
Loading…
Reference in New Issue