Add autocommand to run just on :make when justfile is present and add ccls

This commit is contained in:
2025-02-05 16:00:57 +01:00
parent 92a6cfc071
commit 14edeb2713
2 changed files with 22 additions and 1 deletions

View File

@@ -50,6 +50,10 @@ return {
{
'williamboman/mason-lspconfig.nvim',
config = true
--config = function()
-- ensure_installed = { "lua_ls", "ts_ls", "gopls", "rust_analyzer", "bashls", "sqlls", "html", "cssls",
-- "tailwindcss", "phpactor", "julials", "glsl_analyzer", "wgsl_analyzer", "emmet_language_server", "zls" }
--end
},
{
'neovim/nvim-lspconfig',
@@ -152,6 +156,10 @@ return {
variables = {},
},
})
lspconfig.ccls.setup {
capabilities = capabilities,
on_attach = lsp_attach,
}
end
},
{