Skip to content

Commit

Permalink
Added CoC and removed ALE
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-makandra committed Nov 27, 2020
1 parent 765b576 commit 0747ed6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
21 changes: 21 additions & 0 deletions coc-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"languageserver": {
"puppet": {
"command": "ruby",
"args": ["/home/moritz/Projects/puppet-editor-services/puppet-languageserver","--stdio","--puppet-settings=--moduledir,/home/moritz/.puppetlabs/etc/code/modules/"],
"cwd": "/home/moritz/Projects/puppet-editor-services",
"filetypes": ["puppet"],
"rootPatterns": [".git/", "metadata.json"]
},
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
}
},
"diagnostic-languageserver.filetypes": {
"sh": "shellcheck"
},
"diagnostic.checkCurrentLine": true
}
9 changes: 0 additions & 9 deletions ftplugin/json.vim

This file was deleted.

1 change: 0 additions & 1 deletion ftplugin/puppet.vim

This file was deleted.

8 changes: 1 addition & 7 deletions plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,10 @@ Plug 'rodjek/vim-puppet'

Plug 'ntpeters/vim-better-whitespace'

let g:ale_completion_enabled = 1
Plug 'dense-analysis/ale'
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\}

highlight ALEWarning ctermbg=DarkMagenta

Plug 'tpope/vim-surround'
Plug 'wincent/terminus'
Plug 'neoclide/coc.nvim', {'do': { -> coc#util#install()}} " Language Server support

" Initialize plugin system
call plug#end()

0 comments on commit 0747ed6

Please sign in to comment.