tmp
This commit is contained in:
parent
af4dd514bd
commit
7f39d41d2f
5 changed files with 21 additions and 0 deletions
15
nvim/.config/nvim/coc-settings.json
Normal file
15
nvim/.config/nvim/coc-settings.json
Normal 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": ["~"]
|
||||
}
|
||||
}
|
||||
}
|
3
nvim/.config/nvim/init.vim
Normal file
3
nvim/.config/nvim/init.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath = &runtimepath
|
||||
source ~/.vimrc
|
1
vim/.vim/minisnip/_go_soerrnil
Normal file
1
vim/.vim/minisnip/_go_soerrnil
Normal file
|
@ -0,0 +1 @@
|
|||
So(err, ShouldBeNil)
|
1
vim/.vim/minisnip/_go_sotrue
Normal file
1
vim/.vim/minisnip/_go_sotrue
Normal file
|
@ -0,0 +1 @@
|
|||
So({{++}}, ShouldBeTrue)
|
|
@ -138,6 +138,7 @@ autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=black
|
|||
|
||||
" ALE options
|
||||
let g:ale_completion_enabled = 0
|
||||
let g:ale_open_list = 1
|
||||
let g:ale_linters = {
|
||||
\ 'go': ['gofmt', 'golint', 'golangci-lint']
|
||||
\}
|
||||
|
|
Loading…
Add table
Reference in a new issue