big changes
This commit is contained in:
parent
04fdbf9d61
commit
f1862988ce
9 changed files with 187 additions and 98 deletions
|
|
@ -97,6 +97,17 @@ with lib;
|
|||
key = "<leader>lf";
|
||||
action = "<cmd>lua vim.lsp.buf.format()<CR>";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "go";
|
||||
action = "<cmd>lua vim.diagnostic.open_float()<CR>";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "gd";
|
||||
action = "<C-]><CR>";
|
||||
options.silent = true;
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gg";
|
||||
|
|
@ -183,6 +194,7 @@ with lib;
|
|||
|
||||
plugins = {
|
||||
web-devicons.enable = true;
|
||||
cmp-spell.enable = true;
|
||||
|
||||
lualine = {
|
||||
enable = true;
|
||||
|
|
@ -262,6 +274,7 @@ with lib;
|
|||
sources = [
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "luasnip"; }
|
||||
# { name = "spell"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
@ -296,8 +309,16 @@ with lib;
|
|||
"BufNewFile"
|
||||
];
|
||||
pattern = "*.{md,typ}";
|
||||
command = "setlocal spell spelllang=en";
|
||||
command = "setlocal spell spelllang=en,sv";
|
||||
}
|
||||
# {
|
||||
# event = [
|
||||
# "BufRead"
|
||||
# "BufNewFile"
|
||||
# ];
|
||||
# pattern = "*.{md,typ}";
|
||||
# command = "setlocal spell spelllang=en";
|
||||
# }
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue