mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
More neovide + nvim config
This commit is contained in:
parent
58c8c7b87b
commit
126a2076cc
8 changed files with 48 additions and 6 deletions
|
@ -14,4 +14,19 @@ M.base46 = {
|
|||
-- },
|
||||
}
|
||||
|
||||
M.ui = {
|
||||
theme = "stylix",
|
||||
nvdash = {
|
||||
load_on_startup = true,
|
||||
buttons = {
|
||||
{ " Find File", "Spc .", "Telescope find_files" },
|
||||
{ " Nvimtree", "SPC e", "NvimTreeToggle" },
|
||||
{ " Projects ", "Spc p p", "Telescope workspaces" },
|
||||
{ " Vsplit ", "Spc w v", "vsplit" },
|
||||
{ " Split ", "Spc w s", "split" },
|
||||
{ " Help", "Spc c h", "NvCheatsheet" },
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
|
@ -4,7 +4,7 @@ require("nvchad.configs.lspconfig").defaults()
|
|||
local lspconfig = require "lspconfig"
|
||||
|
||||
-- EXAMPLE
|
||||
local servers = { "html", "cssls" }
|
||||
local servers = { "html", "cssls", "nil_ls", "marksman", "clangd", "pylsp", "ts_ls", "java_language_server", "dockerls", "docker_compose_language_service", "jsonls", "kotlin_language_server", "bashls", "yamlls", "sqls" }
|
||||
local nvlsp = require "nvchad.configs.lspconfig"
|
||||
|
||||
-- lsps with default config
|
||||
|
@ -15,6 +15,9 @@ for _, lsp in ipairs(servers) do
|
|||
capabilities = nvlsp.capabilities,
|
||||
}
|
||||
end
|
||||
lspconfig.gdscript.setup {
|
||||
cmd = { "ncat", "localhost", "6005"}
|
||||
}
|
||||
|
||||
-- configuring single server, example: typescript
|
||||
-- lspconfig.ts_ls.setup {
|
||||
|
|
|
@ -30,6 +30,9 @@ map("n", "<leader>gg", "<cmd>Neogit<cr>", { desc = "Neogit status buffer" })
|
|||
map("n", "<leader>c", "gcc", { desc = "Toggle Comment", remap = true })
|
||||
map("v", "<leader>c", "gc", { desc = "Toggle comment", remap = true })
|
||||
map("n", "<leader>pp", "<cmd>Telescope workspaces<cr>", { desc = "telescope workspaces" })
|
||||
map("n", "<leader>pf", "<cmd>Telescope find_files<cr>", { desc = "telescope find files" })
|
||||
map("n", "<A-w>", "<cmd>q<cr>", { desc = "quit" })
|
||||
map("n", "<leader>wd>", "<cmd>q<cr>", { desc = "quit" })
|
||||
map("n", "<leader>ws", "<cmd>split<cr>", { desc = "horizontal split" })
|
||||
map("n", "<leader>wS", "<cmd>split<cr>", { desc = "horizontal split" })
|
||||
map("n", "<leader>wv", "<cmd>vsplit<cr>", { desc = "vertical split" })
|
||||
|
|
|
@ -18,7 +18,7 @@ return {
|
|||
opts = {
|
||||
ensure_installed = {
|
||||
"vim", "lua", "vimdoc",
|
||||
"html", "css"
|
||||
"html", "css", 'gdscript'
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue