mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
task: Adjusted lsp
This commit is contained in:
parent
c4952f9837
commit
2c65d3d11f
1 changed files with 16 additions and 6 deletions
|
|
@ -14,6 +14,9 @@ return {
|
|||
"dgagn/diagflow.nvim",
|
||||
opts = { scope = "line" },
|
||||
},
|
||||
{
|
||||
"chrisbra/csv.vim",
|
||||
},
|
||||
{ -- Merge lines
|
||||
"Wansmer/treesj",
|
||||
keys = {
|
||||
|
|
@ -51,8 +54,8 @@ return {
|
|||
ui = { border = "rounded" },
|
||||
ensure_installed = {
|
||||
"bash-language-server",
|
||||
"prettierd",
|
||||
"css-lsp",
|
||||
"ruff-lsp",
|
||||
"pyright",
|
||||
"autopep8",
|
||||
"shellcheck",
|
||||
|
|
@ -64,19 +67,17 @@ return {
|
|||
ft = { "python", "typescript", "typescriptreact", "typescript.tsx" },
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-jdtls",
|
||||
"williamboman/mason.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("sonarlint").setup({
|
||||
server = {
|
||||
cmd = {
|
||||
"sonarlint-language-server",
|
||||
"java",
|
||||
"-cp",
|
||||
"-jar",
|
||||
-- Ensure that sonarlint-language-server uses stdio channel
|
||||
"-stdio",
|
||||
"-analyzers",
|
||||
-- paths to the analyzers you need, using those for python and java in this example
|
||||
vim.fn.expand("$MASON/share/sonarlint-analyzers/sonarpython.jar"),
|
||||
vim.fn.expand("$MASON/share/sonarlint-analyzers/sonarjs.jar"),
|
||||
},
|
||||
},
|
||||
filetypes = {
|
||||
|
|
@ -88,4 +89,13 @@ return {
|
|||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"MeanderingProgrammer/markdown.nvim",
|
||||
main = "render-markdown",
|
||||
opts = {},
|
||||
name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue