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",
|
||||
opts = {
|
||||
servers = {
|
||||
volar = {
|
||||
vue_ls = {
|
||||
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue" },
|
||||
init_options = {
|
||||
vue = {
|
||||
|
|
@ -27,6 +27,14 @@ return {
|
|||
},
|
||||
typescript = {
|
||||
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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue