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 # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
bind = $mainMod, M, exit, # bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, W, exec, $menu bind = $mainMod, W, exec, $menu

View File

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

View File

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

View File

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