mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 07:27:47 +00:00
Compare commits
No commits in common. "e51dce002e24fd76306e2064e6006df7bee7ba50" and "ba27d85deec526a499d95713581dba1ada40c6df" have entirely different histories.
e51dce002e
...
ba27d85dee
3 changed files with 14 additions and 5 deletions
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
|
|
@ -1 +1,4 @@
|
||||||
github: NotAShelf
|
github: NotAShelf
|
||||||
|
ko_fi: NotAShelf
|
||||||
|
liberapay: NotAShelf
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,11 +26,6 @@
|
||||||
|
|
||||||
- Deprecate rnix-lsp as it has been abandoned and archived upstream.
|
- Deprecate rnix-lsp as it has been abandoned and archived upstream.
|
||||||
|
|
||||||
- Hardcoded indentation values for the Nix language module have been removed. To
|
|
||||||
replicate previous behaviour, you must either consolidate Nix indentation in
|
|
||||||
your Editorconfig configuration, or use an autocommand to set indentation
|
|
||||||
values for buffers with the Nix filetype.
|
|
||||||
|
|
||||||
[amadaluzia](https://github.com/amadaluzia):
|
[amadaluzia](https://github.com/amadaluzia):
|
||||||
|
|
||||||
[haskell-tools.nvim]: https://github.com/MrcJkb/haskell-tools.nvim
|
[haskell-tools.nvim]: https://github.com/MrcJkb/haskell-tools.nvim
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,17 @@ in {
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
vim.pluginRC.nix = ''
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "nix",
|
||||||
|
callback = function(opts)
|
||||||
|
local bo = vim.bo[opts.buf]
|
||||||
|
bo.tabstop = 2
|
||||||
|
bo.shiftwidth = 2
|
||||||
|
bo.softtabstop = 2
|
||||||
|
end
|
||||||
|
})
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
(mkIf cfg.treesitter.enable {
|
(mkIf cfg.treesitter.enable {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue