Skip to content

Commit

Permalink
chore(LSP): update LSP settings
Browse files Browse the repository at this point in the history
  • Loading branch information
loctvl842 committed Mar 14, 2024
1 parent ac5c6fb commit 4bf8e70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion lua/beastvim/features/lsp/lang/python.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
table.insert(opts.ensure_installed, "black")
vim.list_extend(opts.ensure_installed, { "black" })
end,
},

Expand Down
23 changes: 2 additions & 21 deletions lua/beastvim/features/lsp/lang/typescript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,8 @@ return {
},
settings = {
diagnostics = { ignoredCodes = { 6133 } },
typescript = {
inlayHints = {
includeInlayParameterNameHints = "all",
includeInlayParameterNameHintsWhenArgumentMatchesName = true,
includeInlayFunctionParameterTypeHints = true,
includeInlayVariableTypeHints = true,
includeInlayPropertyDeclarationTypeHints = true,
includeInlayFunctionLikeReturnTypeHints = true,
includeInlayEnumMemberValueHints = true,
},
},
javascript = {
inlayHints = {
includeInlayParameterNameHints = "all",
includeInlayParameterNameHintsWhenArgumentMatchesName = false,
includeInlayFunctionParameterTypeHints = true,
includeInlayVariableTypeHints = true,
includeInlayPropertyDeclarationTypeHints = true,
includeInlayFunctionLikeReturnTypeHints = true,
includeInlayEnumMemberValueHints = true,
},
completions = {
completeFunctionCalls = true,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion lua/beastvim/features/lsp/lang/vue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ return {
},
},
tsserver = {
autostart = false,
autostart = true,
root_dir = function()
return false
end,
Expand Down

0 comments on commit 4bf8e70

Please sign in to comment.