clean config

This commit is contained in:
Harivansh Rathi 2026-02-20 22:34:08 -05:00
parent 1db6db7f92
commit 25aded9685
19 changed files with 468 additions and 852 deletions

View file

@ -1,25 +1,14 @@
-- Lua language server configuration
return {
settings = {
Lua = {
diagnostics = {
globals = { "vim" },
},
runtime = {
version = "LuaJIT",
},
diagnostics = { globals = { 'vim' } },
runtime = { version = 'LuaJIT' },
workspace = {
checkThirdParty = false,
library = {
vim.env.VIMRUNTIME,
},
},
telemetry = {
enable = false,
},
hint = {
enable = true,
library = { vim.env.VIMRUNTIME },
},
telemetry = { enable = false },
hint = { enable = true },
},
},
}

View file

@ -1,12 +1,11 @@
-- Pyright (Python) language server configuration
return {
settings = {
python = {
analysis = {
typeCheckingMode = "basic",
typeCheckingMode = 'basic',
autoSearchPaths = true,
useLibraryCodeForTypes = true,
diagnosticMode = "workspace",
diagnosticMode = 'workspace',
},
},
},

View file

@ -1,25 +1,16 @@
-- Rust Analyzer configuration with clippy integration
return {
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
},
cargo = {
allFeatures = true,
},
procMacro = {
enable = true,
},
diagnostics = {
enable = true,
},
['rust-analyzer'] = {
checkOnSave = { command = 'clippy' },
cargo = { allFeatures = true },
procMacro = { enable = true },
diagnostics = { enable = true },
inlayHints = {
bindingModeHints = { enable = true },
chainingHints = { enable = true },
closingBraceHints = { enable = true },
closureReturnTypeHints = { enable = "always" },
lifetimeElisionHints = { enable = "always" },
closureReturnTypeHints = { enable = 'always' },
lifetimeElisionHints = { enable = 'always' },
parameterHints = { enable = true },
typeHints = { enable = true },
},

View file

@ -1,9 +1,8 @@
-- TypeScript language server configuration
return {
settings = {
typescript = {
inlayHints = {
includeInlayParameterNameHints = "all",
includeInlayParameterNameHints = 'all',
includeInlayParameterNameHintsWhenArgumentMatchesName = false,
includeInlayFunctionParameterTypeHints = true,
includeInlayVariableTypeHints = true,
@ -14,7 +13,7 @@ return {
},
javascript = {
inlayHints = {
includeInlayParameterNameHints = "all",
includeInlayParameterNameHints = 'all',
includeInlayParameterNameHintsWhenArgumentMatchesName = false,
includeInlayFunctionParameterTypeHints = true,
includeInlayVariableTypeHints = true,