Update configuration files

This commit is contained in:
Rob Watson 2021-10-08 14:30:25 +02:00
parent cfd52a6831
commit 9f65809479
2 changed files with 4 additions and 1 deletions

3
nvimrc
View File

@ -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",

View File

@ -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.