removing luaConfigPost, turning it into options property, added properties to diagnostics, among others

This commit is contained in:
2025-09-13 14:39:30 -04:00
parent 20b6af7155
commit cacde55d48

View File

@@ -18,24 +18,23 @@
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
# setting some nvim settings that are not in nvf options = {
luaConfigPost = '' tabstop = 4;
vim.opt.tabstop = 4 shiftwidth = 4;
vim.opt.shiftwidth = 4 expandtab = true;
vim.opt.expandtab = true autoindent = true;
vim.opt.autoindent = true smartindent = true;
vim.opt.smartindent = true smarttab = true;
vim.opt.smarttab = true scrolloff = 12;
vim.opt.scrolloff = 12 sidescrolloff = 8;
vim.opt.sidescrolloff = 8 wrap = false;
vim.opt.wrap = false linebreak = false;
vim.opt.linebreak = false number = true;
vim.opt.number = true relativenumber = true;
vim.opt.relativgnumber = true cursorline = true;
vim.opt.cursorline = true signcolumn = "yes";
vim.opt.signcolumn = "yes" tabline = "2";
vim.opt.tabline = 2 };
'';
# clipboard configuration # clipboard configuration
clipboard = { clipboard = {
@@ -71,11 +70,13 @@
# disable spellcheck # disable spellcheck
spellcheck.enable = false; spellcheck.enable = false;
# enable diagnostics # enable diagnostics (inline)
diagnostics = { diagnostics = {
enable = true; enable = true;
config = { config = {
underline = true; underline = true;
signs = true;
update_in_insert = false;
virtual_lines = true; virtual_lines = true;
}; };
}; };
@@ -124,6 +125,10 @@
enable = true; enable = true;
package = pkgs.prettierd; package = pkgs.prettierd;
}; };
lsp = {
enable = true;
server = "ts_ls";
};
}; };
lua.enable = false; lua.enable = false;
python.enable = true; python.enable = true;
@@ -199,7 +204,7 @@
tabline = { tabline = {
nvimBufferline = { nvimBufferline = {
enable = true; enable = true;
options = { setupOpts.options = {
numbers = "none"; numbers = "none";
}; };
mappings = { mappings = {