add clang lsp
This commit is contained in:
parent
660a9812b7
commit
bf492d97c4
|
@ -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
|
||||
|
|
|
@ -10,7 +10,7 @@ M.ui = {
|
|||
|
||||
statusline = {
|
||||
theme = "default"
|
||||
}
|
||||
},
|
||||
|
||||
-- hl_override = {
|
||||
-- Comment = { italic = true },
|
||||
|
|
|
@ -47,6 +47,8 @@ lspconfig.gopls.setup({
|
|||
},
|
||||
})
|
||||
|
||||
lspconfig.clangd.setup{}
|
||||
|
||||
-- typescript
|
||||
-- lspconfig.tsserver.setup {
|
||||
-- on_attach = on_attach,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue