mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix: Fixed inlayhints error
This commit is contained in:
parent
a8befbc82e
commit
d8ce6fec18
1 changed files with 9 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ return {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
volar = {
|
vue_ls = {
|
||||||
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue" },
|
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue" },
|
||||||
init_options = {
|
init_options = {
|
||||||
vue = {
|
vue = {
|
||||||
|
|
@ -27,6 +27,14 @@ return {
|
||||||
},
|
},
|
||||||
typescript = {
|
typescript = {
|
||||||
tsdk = vim.fn.getcwd() .. "/node_modules/typescript/lib",
|
tsdk = vim.fn.getcwd() .. "/node_modules/typescript/lib",
|
||||||
|
inlayHints = {
|
||||||
|
enumMemberValues = { enabled = false },
|
||||||
|
functionLikeReturnTypes = { enabled = false },
|
||||||
|
parameterNames = { enabled = false },
|
||||||
|
parameterTypes = { enabled = false },
|
||||||
|
propertyDeclarationTypes = { enabled = false },
|
||||||
|
variableTypes = { enabled = false },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue