mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 05:51: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",
|
"dgagn/diagflow.nvim",
|
||||||
opts = { scope = "line" },
|
opts = { scope = "line" },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"chrisbra/csv.vim",
|
||||||
|
},
|
||||||
{ -- Merge lines
|
{ -- Merge lines
|
||||||
"Wansmer/treesj",
|
"Wansmer/treesj",
|
||||||
keys = {
|
keys = {
|
||||||
|
|
@ -51,8 +54,8 @@ return {
|
||||||
ui = { border = "rounded" },
|
ui = { border = "rounded" },
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash-language-server",
|
"bash-language-server",
|
||||||
"prettierd",
|
|
||||||
"css-lsp",
|
"css-lsp",
|
||||||
|
"ruff-lsp",
|
||||||
"pyright",
|
"pyright",
|
||||||
"autopep8",
|
"autopep8",
|
||||||
"shellcheck",
|
"shellcheck",
|
||||||
|
|
@ -64,19 +67,17 @@ return {
|
||||||
ft = { "python", "typescript", "typescriptreact", "typescript.tsx" },
|
ft = { "python", "typescript", "typescriptreact", "typescript.tsx" },
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"mfussenegger/nvim-jdtls",
|
"mfussenegger/nvim-jdtls",
|
||||||
"williamboman/mason.nvim",
|
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("sonarlint").setup({
|
require("sonarlint").setup({
|
||||||
server = {
|
server = {
|
||||||
cmd = {
|
cmd = {
|
||||||
"sonarlint-language-server",
|
"java",
|
||||||
|
"-cp",
|
||||||
|
"-jar",
|
||||||
-- Ensure that sonarlint-language-server uses stdio channel
|
-- Ensure that sonarlint-language-server uses stdio channel
|
||||||
"-stdio",
|
"-stdio",
|
||||||
"-analyzers",
|
"-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 = {
|
filetypes = {
|
||||||
|
|
@ -88,4 +89,13 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
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