mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-01-19 00:12:25 +00:00
languages/nix: remove hardcoded indentation options
This commit is contained in:
parent
e7649d1ec5
commit
4200828526
1 changed files with 0 additions and 11 deletions
|
@ -187,17 +187,6 @@ 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…
Reference in a new issue