mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-28 16:00:05 +02:00
Better Go support
This commit is contained in:
parent
85e575a1e8
commit
03a824311b
2 changed files with 23 additions and 16 deletions
25
init.lua
25
init.lua
|
@ -463,10 +463,31 @@ end
|
|||
-- Add any additional override configuration in the following tables. They will be passed to
|
||||
-- the `settings` field of the server config. You must look up that documentation yourself.
|
||||
local servers = {
|
||||
clangd = {},
|
||||
clangd = {
|
||||
cmd = {
|
||||
"~/.local/share/nvim/mason/bin/clangd",
|
||||
"--all-scopes-completion",
|
||||
"--background-index",
|
||||
"--clang-tidy",
|
||||
"--completion-parse=always",
|
||||
"--completion-style=bundled",
|
||||
"--cross-file-rename",
|
||||
"--debug-origin",
|
||||
"--enable-config", -- clangd 11+ supports reading from .clangd configuration file
|
||||
"--fallback-style=Qt",
|
||||
"--folding-ranges",
|
||||
"--function-arg-placeholders",
|
||||
"--header-insertion=iwyu",
|
||||
"--pch-storage=memory", -- could also be disk
|
||||
"--suggest-missing-includes",
|
||||
"-j=20", -- number of workers
|
||||
-- "--resource-dir="
|
||||
"--log=error",
|
||||
},
|
||||
},
|
||||
gopls = {},
|
||||
-- solargraph = {},
|
||||
-- ruby_ls = {},
|
||||
ruby_lsp = {},
|
||||
sqlls = {},
|
||||
angularls = {},
|
||||
bashls = {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue