Compare commits

..

No commits in common. "e51dce002e24fd76306e2064e6006df7bee7ba50" and "ba27d85deec526a499d95713581dba1ada40c6df" have entirely different histories.

3 changed files with 14 additions and 5 deletions

3
.github/FUNDING.yml vendored
View file

@ -1 +1,4 @@
github: NotAShelf
ko_fi: NotAShelf
liberapay: NotAShelf

View file

@ -26,11 +26,6 @@
- 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):
[haskell-tools.nvim]: https://github.com/MrcJkb/haskell-tools.nvim

View file

@ -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 {