mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-02-17 04:48:53 +00:00
Astronvim config from kabinspace/AstroNvim_user
This commit is contained in:
5
lsp/server-settings/clangd.lua
Normal file
5
lsp/server-settings/clangd.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
capabilities = {
|
||||
offsetEncoding = "utf-8",
|
||||
},
|
||||
}
|
||||
7
lsp/server-settings/sumneko_lua.lua
Normal file
7
lsp/server-settings/sumneko_lua.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
settings = {
|
||||
Lua = {
|
||||
hint = { enable = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
26
lsp/server-settings/tsserver.lua
Normal file
26
lsp/server-settings/tsserver.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
return {
|
||||
settings = {
|
||||
javascript = {
|
||||
inlayHints = {
|
||||
includeInlayEnumMemberValueHints = true,
|
||||
includeInlayFunctionLikeReturnTypeHints = true,
|
||||
includeInlayFunctionParameterTypeHints = true,
|
||||
includeInlayParameterNameHints = "all", -- 'none' | 'literals' | 'all';
|
||||
includeInlayParameterNameHintsWhenArgumentMatchesName = true,
|
||||
includeInlayPropertyDeclarationTypeHints = true,
|
||||
includeInlayVariableTypeHints = true,
|
||||
},
|
||||
},
|
||||
typescript = {
|
||||
inlayHints = {
|
||||
includeInlayEnumMemberValueHints = true,
|
||||
includeInlayFunctionLikeReturnTypeHints = true,
|
||||
includeInlayFunctionParameterTypeHints = true,
|
||||
includeInlayParameterNameHints = "all", -- 'none' | 'literals' | 'all';
|
||||
includeInlayParameterNameHintsWhenArgumentMatchesName = true,
|
||||
includeInlayPropertyDeclarationTypeHints = true,
|
||||
includeInlayVariableTypeHints = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
11
lsp/server-settings/yamlls.lua
Normal file
11
lsp/server-settings/yamlls.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
settings = {
|
||||
yaml = {
|
||||
schemas = {
|
||||
["http://json.schemastore.org/github-workflow"] = ".github/workflows/*.{yml,yaml}",
|
||||
["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}",
|
||||
["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user