move opencode PATH addition to from bashrc to startup. Add lsp's to chadrc. Set relative line numbers and scrolloff
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
|
export PATH=$PATH:$HOME/.opencode/bin
|
||||||
fastfetch
|
fastfetch
|
||||||
|
|||||||
@@ -17,11 +17,34 @@ M.base46 = {
|
|||||||
|
|
||||||
M.nvdash = { load_on_startup = true }
|
M.nvdash = { load_on_startup = true }
|
||||||
M.ui = {
|
M.ui = {
|
||||||
-- theme_toggle = { "rosepine-dawn", "catppuccin" }
|
|
||||||
-- tabufline = {
|
-- tabufline = {
|
||||||
-- lazyload = false
|
-- lazyload = false
|
||||||
-- },
|
-- },
|
||||||
|
}
|
||||||
|
M.mason = {
|
||||||
|
pkgs = {
|
||||||
|
"azure-pipelines-language-server",
|
||||||
|
"bash-language-server",
|
||||||
|
"bicep-lsp",
|
||||||
|
"black",
|
||||||
|
"css-lsp",
|
||||||
|
"docker-language-server",
|
||||||
|
"gotests",
|
||||||
|
"html-lsp",
|
||||||
|
"htmx-lsp",
|
||||||
|
"lua-language-server",
|
||||||
|
"mdformat",
|
||||||
|
"gopls",
|
||||||
|
"omnisharp",
|
||||||
|
"angular-language-server",
|
||||||
|
"typescript-language-server",
|
||||||
|
"postgres-language-server",
|
||||||
|
"prettier",
|
||||||
|
"sqls",
|
||||||
|
"tailwindcss-language-server",
|
||||||
|
"yaml-language-server",
|
||||||
|
"jq"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|||||||
@@ -3,4 +3,6 @@ require "nvchad.options"
|
|||||||
-- add yours here!
|
-- add yours here!
|
||||||
|
|
||||||
local o = vim.o
|
local o = vim.o
|
||||||
o.cursorlineopt ='both' -- to enable cursorline!
|
o.cursorlineopt = 'both' -- to enable cursorline!
|
||||||
|
o.relativenumber = true
|
||||||
|
o.scrolloff = 20
|
||||||
|
|||||||
Reference in New Issue
Block a user