add clang lsp

This commit is contained in:
yyasha 2024-08-04 01:43:04 +03:00
parent 660a9812b7
commit bf492d97c4
4 changed files with 16 additions and 11 deletions

View File

@ -147,7 +147,7 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
# bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, W, exec, $menu

View File

@ -10,7 +10,7 @@ M.ui = {
statusline = {
theme = "default"
}
},
-- hl_override = {
-- Comment = { italic = true },

View File

@ -47,6 +47,8 @@ lspconfig.gopls.setup({
},
})
lspconfig.clangd.setup{}
-- typescript
-- lspconfig.tsserver.setup {
-- on_attach = on_attach,

View File

@ -42,15 +42,18 @@ return {
-- {"sindrets/diffview.nvim", lazy = false},
-- {
-- "williamboman/mason.nvim",
-- opts = {
-- ensure_installed = {
-- "lua-language-server", "stylua",
-- "html-lsp", "css-lsp" , "prettier"
-- },
-- },
-- },
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"lua-language-server",
"clangd",
"stylua",
"gopls",
"golangci-lint",
},
},
},
--
-- {
-- "nvim-treesitter/nvim-treesitter",