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
|
# 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
|
||||||
|
|
|
@ -10,7 +10,7 @@ M.ui = {
|
||||||
|
|
||||||
statusline = {
|
statusline = {
|
||||||
theme = "default"
|
theme = "default"
|
||||||
}
|
},
|
||||||
|
|
||||||
-- hl_override = {
|
-- hl_override = {
|
||||||
-- Comment = { italic = true },
|
-- Comment = { italic = true },
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue