This commit is contained in:
Bruno Carlin 2019-12-06 19:33:20 +01:00
parent af4dd514bd
commit 7f39d41d2f
5 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"]
},
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
}
}
}

View file

@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

View file

@ -0,0 +1 @@
So(err, ShouldBeNil)

View file

@ -0,0 +1 @@
So({{++}}, ShouldBeTrue)

View file

@ -138,6 +138,7 @@ autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=black
" ALE options " ALE options
let g:ale_completion_enabled = 0 let g:ale_completion_enabled = 0
let g:ale_open_list = 1
let g:ale_linters = { let g:ale_linters = {
\ 'go': ['gofmt', 'golint', 'golangci-lint'] \ 'go': ['gofmt', 'golint', 'golangci-lint']
\} \}