mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2026-02-03 22:26:24 -05:00
update: config
This commit is contained in:
parent
ebeb37f61f
commit
37cf8c18c3
1 changed files with 62 additions and 24 deletions
|
|
@ -7,7 +7,6 @@
|
||||||
update_in_insert = true;
|
update_in_insert = true;
|
||||||
severity_sort = true;
|
severity_sort = true;
|
||||||
|
|
||||||
# NOTE: Opt-in with 0.11
|
|
||||||
virtual_text = {
|
virtual_text = {
|
||||||
enable = true;
|
enable = true;
|
||||||
severity.min = "warn";
|
severity.min = "warn";
|
||||||
|
|
@ -111,7 +110,9 @@
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
bufferline.enable = false;
|
bufferline.enable = false;
|
||||||
lualine.enable = true;
|
lualine = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
luasnip.enable = true;
|
luasnip.enable = true;
|
||||||
yanky = {
|
yanky = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -338,6 +339,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
servers = {
|
servers = {
|
||||||
|
clangd.enable = true;
|
||||||
ts_ls.enable = true;
|
ts_ls.enable = true;
|
||||||
eslint.enable = true;
|
eslint.enable = true;
|
||||||
templ.enable = true;
|
templ.enable = true;
|
||||||
|
|
@ -375,6 +377,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
elixirls = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installCargo = true;
|
installCargo = true;
|
||||||
|
|
@ -389,6 +394,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
zls = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
cmp = {
|
cmp = {
|
||||||
|
|
@ -422,6 +430,30 @@
|
||||||
extraPlugins = [
|
extraPlugins = [
|
||||||
];
|
];
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
|
vim.cmd [[
|
||||||
|
highlight Normal guibg=none
|
||||||
|
highlight Normal ctermbg=none
|
||||||
|
highlight NonText guibg=none
|
||||||
|
highlight NonText ctermbg=none
|
||||||
|
highlight NormalFloat guibg=none
|
||||||
|
highlight NormalFloat ctermbg=none
|
||||||
|
highlight FloatBorder guibg=none
|
||||||
|
highlight FloatBorder ctermbg=none
|
||||||
|
highlight Pmenu guibg=none
|
||||||
|
highlight Pmenu ctermbg=none
|
||||||
|
highlight PmenuSel guibg=none
|
||||||
|
highlight PmenuSel ctermbg=none
|
||||||
|
highlight TelescopeNormal guibg=none
|
||||||
|
highlight TelescopeNormal ctermbg=none
|
||||||
|
highlight TelescopeBorder guibg=none
|
||||||
|
highlight TelescopeBorder ctermbg=none
|
||||||
|
highlight TermNormal guibg=none
|
||||||
|
highlight TermNormal ctermbg=none
|
||||||
|
highlight TermFloat guibg=none
|
||||||
|
highlight TermFloat ctermbg=none
|
||||||
|
highlight SignColumn guibg=none
|
||||||
|
]]
|
||||||
|
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
extension = {
|
extension = {
|
||||||
ldtk = "json",
|
ldtk = "json",
|
||||||
|
|
@ -447,6 +479,7 @@
|
||||||
'';
|
'';
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
opts = {
|
opts = {
|
||||||
|
laststatus = 0;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
number = true;
|
number = true;
|
||||||
tabstop = 2;
|
tabstop = 2;
|
||||||
|
|
@ -612,6 +645,11 @@
|
||||||
key = "<leader>p";
|
key = "<leader>p";
|
||||||
action = "\"_dP";
|
action = "\"_dP";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
action = "<cmd>LspStop<CR>";
|
||||||
|
key = "<leader>ls";
|
||||||
|
mode = ["n"];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
colorschemes.rose-pine.enable = true;
|
colorschemes.rose-pine.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue