diff options
author | Minijackson <minijackson@riseup.net> | 2024-10-07 17:55:20 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2024-10-07 17:55:20 +0200 |
commit | 73eebd40214d84ce506566d3dbc792342acd61c9 (patch) | |
tree | ae739651e394a4596eb4937b14b71c3837b2d73a /common/nixvim.nix | |
parent | 5a293118ddb16fb036fc3b5e3d927d5244721b12 (diff) | |
download | nixos-config-reborn-73eebd40214d84ce506566d3dbc792342acd61c9.tar.gz nixos-config-reborn-73eebd40214d84ce506566d3dbc792342acd61c9.zip |
common/nixvim: disable some polyglot modules
Diffstat (limited to 'common/nixvim.nix')
-rw-r--r-- | common/nixvim.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/nixvim.nix b/common/nixvim.nix index 46c0a12..81a96ea 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix | |||
@@ -24,6 +24,12 @@ in | |||
24 | globals = { | 24 | globals = { |
25 | mapleader = ";"; | 25 | mapleader = ";"; |
26 | maplocalleader = ","; | 26 | maplocalleader = ","; |
27 | polyglot_disabled = [ | ||
28 | # ftdetect messes up `vim.filetype.add` | ||
29 | "ftdetect" | ||
30 | "autoindent" | ||
31 | "sensible" | ||
32 | ]; | ||
27 | }; | 33 | }; |
28 | 34 | ||
29 | opts = { | 35 | opts = { |