mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
replace tab setting with global editorconfig
This commit is contained in:
parent
cb9ec259a8
commit
bbf003bfaf
2 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue