simpler golang
This commit is contained in:
parent
31c9d70d42
commit
4fb0ea1292
2 changed files with 8 additions and 2 deletions
|
|
@ -15,6 +15,11 @@
|
||||||
"directory": ".ccls-cache"
|
"directory": ".ccls-cache"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"golang": {
|
||||||
|
"command": "gopls",
|
||||||
|
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
||||||
|
"filetypes": ["go"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
5
.vimrc
5
.vimrc
|
|
@ -441,8 +441,9 @@ let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:15'
|
||||||
let g:go_fmt_command = "goimports"
|
let g:go_fmt_command = "goimports"
|
||||||
"let g:go_auto_type_info = 1
|
"let g:go_auto_type_info = 1
|
||||||
let g:go_updatetime = 300
|
let g:go_updatetime = 300
|
||||||
"let g:go_bin_path = "$HOME/.go/bin"
|
let g:go_bin_path = $HOME . "/.go/bin"
|
||||||
let g:go_def_mode = 'guru'
|
"let g:go_def_mode = 'gopls'
|
||||||
|
"let g:go_info_mode = 'gopls'
|
||||||
|
|
||||||
" ** STATUSLINE **
|
" ** STATUSLINE **
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue