update plugins
This commit is contained in:
parent
421382f27c
commit
01d3154218
7 changed files with 110 additions and 29 deletions
|
|
@ -1,2 +1,3 @@
|
|||
require("aleidk.IDE.lsp")
|
||||
require("aleidk.IDE.completion")
|
||||
require("aleidk.IDE.null-ls")
|
||||
|
|
|
|||
|
|
@ -49,12 +49,16 @@ end
|
|||
-- Add any additional override configuration in the following tables. They will be passed to
|
||||
-- the `settings` field of the server config. You must look up that documentation yourself.
|
||||
local servers = {
|
||||
-- clangd = {},
|
||||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
|
||||
bashls = {},
|
||||
cssls = {},
|
||||
dockerls = {},
|
||||
emmet_ls = {},
|
||||
html = {},
|
||||
pyright = {},
|
||||
rust_analyzer = {},
|
||||
sqlls = {},
|
||||
tsserver = {},
|
||||
yamlls = {},
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
workspace = { checkThirdParty = false },
|
||||
|
|
|
|||
38
config/nvim/lua/aleidk/IDE/null-ls.lua
Normal file
38
config/nvim/lua/aleidk/IDE/null-ls.lua
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
-- Linter and formatter configuration
|
||||
|
||||
require("mason-null-ls").setup({
|
||||
handlers = {}, -- this make mason-null-ls to auto setup handlers
|
||||
ensure_installed = {
|
||||
"blade_formatter",
|
||||
"blue",
|
||||
"eslint_d",
|
||||
"fixjson",
|
||||
"gitlint",
|
||||
"intelephense",
|
||||
"markdownlint",
|
||||
"php-cs-fixer",
|
||||
"prettierd",
|
||||
"shellcheck",
|
||||
"shfmt",
|
||||
"sql-formatter",
|
||||
"stylua",
|
||||
"yamlint",
|
||||
},
|
||||
})
|
||||
|
||||
local null_ls = require("null-ls.builtins")
|
||||
|
||||
require("null-ls").setup({
|
||||
sources = {
|
||||
null_ls.formatting.prettierd.with({
|
||||
disabled_filetypes = { "markdown" },
|
||||
}),
|
||||
|
||||
null_ls.formatting.phpcsfixer.with({
|
||||
extra_args = {
|
||||
"--config",
|
||||
"$HOME/.config/php-cs-fixer-conf.php",
|
||||
},
|
||||
}),
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue