diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-10 12:25:43 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-10 19:54:55 +0200 |
| commit | b657343b58adb1d4a8ab7f648c9683c4b1d67128 (patch) | |
| tree | d090705d544c619ba015058b1535d38bc15787ae /user/nvim/after/ftplugin/nix.lua | |
| parent | d51c60c30e7f67e644db0bc5eadea9f0392481ca (diff) | |
tweak(workstation): use neovim instead of vim
Diffstat (limited to 'user/nvim/after/ftplugin/nix.lua')
| -rw-r--r-- | user/nvim/after/ftplugin/nix.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/nvim/after/ftplugin/nix.lua b/user/nvim/after/ftplugin/nix.lua new file mode 100644 index 0000000..af99d8d --- /dev/null +++ b/user/nvim/after/ftplugin/nix.lua @@ -0,0 +1,7 @@ +vim.opt_local.expandtab = true +vim.opt_local.shiftwidth = 2 +vim.opt_local.softtabstop = 2 +vim.opt_local.tabstop = 2 + +vim.treesitter.start() +vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" |
