feat(nvim): Setup nvim-lint through nixvim config
This commit is contained in:
parent
b2b9477041
commit
439eec75c3
3 changed files with 8 additions and 18 deletions
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
autoGroups."highlightOnYank" = { };
|
||||
autoGroups."runLinter" = { };
|
||||
autoGroups."lspConfig" = { };
|
||||
autoGroups."restoreCursorPosition" = { };
|
||||
autoCmd = [
|
||||
|
@ -21,16 +20,6 @@
|
|||
'';
|
||||
};
|
||||
}
|
||||
{
|
||||
group = "runLinter";
|
||||
event = "BufWritePost";
|
||||
pattern = "*";
|
||||
callback = {
|
||||
__raw = ''
|
||||
require("lint").try_lint()
|
||||
'';
|
||||
};
|
||||
}
|
||||
{
|
||||
group = "restoreCursorPosition";
|
||||
event = "BufReadPost";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue