diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index bb54be1..43c749f 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -1,5 +1,18 @@ { + "coc.preferences.diagnostic.errorSign": "", + "coc.preferences.diagnostic.warningSign": "", "languageserver": { + "bash": { + "command": "bash-language-server", + "args": ["start"], + "filetypes": ["sh"], + "ignoredRootPaths": ["~"] + }, + "dockerfile": { + "command": "docker-langserver", + "filetypes": ["dockerfile"], + "args": ["--stdio"] + }, "golang": { "command": "bingo", "rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"], diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 0374768..5ce458e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -217,14 +217,14 @@ set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.class,*/target/*,*/.git/*" map :Buffers -map ,` :Buffers -map ,; :Commits -map ,e :GitFiles -map ,d :Files -map ,f :History -" map ,g :BLines -map ,/ :Ag -map ,m :Marks +map ` :Buffers +map ; :Commits +map e :GitFiles +map d :Files +map f :History +" map g :BLines +map / :Ag +map m :Marks "" Key bindings imap  @@ -411,8 +411,8 @@ autocmd CursorHold * silent call CocActionAsync('highlight') nmap rn (coc-rename) " Remap for format selected region -vmap f (coc-format-selected) -nmap f (coc-format-selected) +" vmap f (coc-format-selected) +" nmap f (coc-format-selected) augroup mygroup autocmd!