replace tab setting with global editorconfig

This commit is contained in:
Sean Buckley 2023-10-13 13:46:54 -04:00
parent cb9ec259a8
commit bbf003bfaf
2 changed files with 7 additions and 2 deletions

View file

@ -72,6 +72,13 @@
]; ];
system.activationScripts.editorconfig = ''
cat <<EOF >/.editorconfig
[*]
tab_width = 4
EOF
'';
environment.variables.HTOPRC = "/dev/null"; environment.variables.HTOPRC = "/dev/null";
programs.htop = { programs.htop = {
enable = true; enable = true;

View file

@ -1,8 +1,6 @@
lvim.format_on_save = true lvim.format_on_save = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.whichwrap = "" vim.opt.whichwrap = ""
local formatters = require "lvim.lsp.null-ls.formatters" local formatters = require "lvim.lsp.null-ls.formatters"