Merge branch 'master' of https://git.cscherr.de/PlexSheep/neovim-confs
This commit is contained in:
commit
0cacd59361
|
@ -10,7 +10,6 @@ local servers = {
|
||||||
"cssls",
|
"cssls",
|
||||||
"tsserver",
|
"tsserver",
|
||||||
"clangd",
|
"clangd",
|
||||||
"pyright",
|
|
||||||
"bashls",
|
"bashls",
|
||||||
"cmake",
|
"cmake",
|
||||||
"yamlls",
|
"yamlls",
|
||||||
|
@ -29,6 +28,7 @@ local server_with_settings = {
|
||||||
-- "textlsp",
|
-- "textlsp",
|
||||||
"ltex",
|
"ltex",
|
||||||
"rust_analyzer",
|
"rust_analyzer",
|
||||||
|
"basedpyright",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, lsp in ipairs(server_with_settings) do
|
for _, lsp in ipairs(server_with_settings) do
|
||||||
|
|
|
@ -3,6 +3,23 @@ local capabilities = require("plugins.configs.lspconfig").capabilities
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
M.basedpyright = {
|
||||||
|
on_attach = on_attach,
|
||||||
|
capabilities = capabilities,
|
||||||
|
root_dir = vim.loop.cwd,
|
||||||
|
flags = { debounce_text_changes = 300 },
|
||||||
|
single_file_support = true,
|
||||||
|
settings = {
|
||||||
|
python = {
|
||||||
|
analysis = {
|
||||||
|
autoSearchPaths = true,
|
||||||
|
diagnosticMode = "openFilesOnly",
|
||||||
|
useLibraryCodeForTypes = true,
|
||||||
|
typeCheckingMode = "basic",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
M.rust_analyzer = {
|
M.rust_analyzer = {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
|
|
@ -43,7 +43,7 @@ M.mason = {
|
||||||
"cmake-language-server",
|
"cmake-language-server",
|
||||||
"rust-analyzer",
|
"rust-analyzer",
|
||||||
"taplo",
|
"taplo",
|
||||||
"pyright",
|
"basedpyright",
|
||||||
"shellcheck",
|
"shellcheck",
|
||||||
"bash-language-server",
|
"bash-language-server",
|
||||||
"ltex-ls",
|
"ltex-ls",
|
||||||
|
|
|
@ -812,6 +812,7 @@ local plugins = {
|
||||||
end,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"mfussenegger/nvim-dap",
|
"mfussenegger/nvim-dap",
|
||||||
|
"nvim-neotest/nvim-nio",
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local dap = require "dap"
|
local dap = require "dap"
|
||||||
|
|
|
@ -364,3 +364,6 @@ UITPS
|
||||||
PV
|
PV
|
||||||
UITPA
|
UITPA
|
||||||
Glänzer
|
Glänzer
|
||||||
|
postgres
|
||||||
|
sqlite
|
||||||
|
REPL
|
||||||
|
|
Loading…
Reference in New Issue