summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/config/plugins/lsp.lua
diff options
context:
space:
mode:
authorTom Li Dobnik <tomlidobnik1@gmail.com>2026-02-20 15:05:37 +0100
committerTom Li Dobnik <tomlidobnik1@gmail.com>2026-02-20 15:05:37 +0100
commitac0968042ddb333de5e3c371cc79b3b4ef098356 (patch)
tree6fba7deb2e7990b5842ef36ef1dad0f90e74d494 /.config/nvim/lua/config/plugins/lsp.lua
parent2dab9e093cced83b8a2ae3c477052594f70e9a4d (diff)
update
Diffstat (limited to '.config/nvim/lua/config/plugins/lsp.lua')
-rw-r--r--.config/nvim/lua/config/plugins/lsp.lua46
1 files changed, 18 insertions, 28 deletions
diff --git a/.config/nvim/lua/config/plugins/lsp.lua b/.config/nvim/lua/config/plugins/lsp.lua
index dca3f5f..4d4dcc0 100644
--- a/.config/nvim/lua/config/plugins/lsp.lua
+++ b/.config/nvim/lua/config/plugins/lsp.lua
@@ -167,35 +167,25 @@ return {
local servers = {
bashls = {},
marksman = {},
- -- clangd = {},
- -- gopls = {},
- -- pyright = {},
- -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
- --
- -- Some languages (like typescript) have entire language plugins that can be useful:
- -- https://github.com/pmizio/typescript-tools.nvim
- --
- -- But for many setups, the LSP (`ts_ls`) will work just fine
- -- ts_ls = {},
- --
-
- lua_ls = {
- -- cmd = { ... },
- -- filetypes = { ... },
- -- capabilities = {},
- -- settings = {
- -- Lua = {
- -- completion = {
- -- callSnippet = 'Replace',
- -- },
- -- -- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings
- -- -- diagnostics = { disable = { 'missing-fields' } },
- -- },
- -- },
+ pyright = {
+ settings = {
+ python = {
+ analysis = {
+ typeCheckingMode = "basic",
+ autoSearchPaths = true,
+ useLibraryCodeForTypes = true,
+ },
+ },
+ },
},
- }
-
- -- Ensure the servers and tools above are installed
+ clangd = {
+ cmd = {
+ "clangd",
+ "--fallback-style={BasedOnStyle: LLVM, IndentWidth: 4, TabWidth: 4, UseTab: Never}",
+ },
+ },
+ lua_ls = {},
+ } -- Ensure the servers and tools above are installed
--
-- To check the current status of installed tools and/or manually install
-- other tools, you can run