changed bash configs
This commit is contained in:
@ -21,24 +21,30 @@ return {
|
||||
local python_path = python_utils.get_python_path()
|
||||
|
||||
vim.lsp.config("ruff", {
|
||||
root_markers = { ".git" },
|
||||
settings = { interpreter = python_path },
|
||||
})
|
||||
vim.lsp.enable("ruff")
|
||||
vim.lsp.config("basedpyright", {
|
||||
root_markers = { ".git" },
|
||||
python = { pythonPath = python_path },
|
||||
settings = {
|
||||
python = { pythonPath = python_path },
|
||||
basedpyright = {
|
||||
analysis = {
|
||||
typeCheckingMode = "standard",
|
||||
diagnosticSeverityOverrides = {
|
||||
reportUnusedImport = "none",
|
||||
reportMissingImports = "none",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.lsp.enable("basedpyright")
|
||||
vim.lsp.config("bashls", {
|
||||
cmd = { "bash-language-server", "start" },
|
||||
filetypes = { "bash", "sh" },
|
||||
})
|
||||
vim.lsp.enable("bashls")
|
||||
-- vim.lsp.config("bashls", {
|
||||
-- cmd = { "bash-language-server", "start" },
|
||||
-- filetypes = { "bash", "sh" },
|
||||
-- })
|
||||
-- vim.lsp.enable("bashls")
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user