diff options
-rw-r--r-- | common/vim.nix | 1 | ||||
-rw-r--r-- | dotfiles/vim/lua/myConfig.lua | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/common/vim.nix b/common/vim.nix index 1382d20..59de56a 100644 --- a/common/vim.nix +++ b/common/vim.nix | |||
@@ -118,6 +118,7 @@ inputs: { | |||
118 | 118 | ||
119 | # Languages | 119 | # Languages |
120 | editorconfig-nvim | 120 | editorconfig-nvim |
121 | vim-polyglot | ||
121 | vim-pandoc | 122 | vim-pandoc |
122 | # Fixes "duplicated vim plugin" issue | 123 | # Fixes "duplicated vim plugin" issue |
123 | (refactoring-nvim.overrideAttrs (old: {dependencies = [];})) | 124 | (refactoring-nvim.overrideAttrs (old: {dependencies = [];})) |
diff --git a/dotfiles/vim/lua/myConfig.lua b/dotfiles/vim/lua/myConfig.lua index 58c6f6d..4411d8c 100644 --- a/dotfiles/vim/lua/myConfig.lua +++ b/dotfiles/vim/lua/myConfig.lua | |||
@@ -57,6 +57,15 @@ vim.opt.listchars = { | |||
57 | } | 57 | } |
58 | vim.wo.list = true | 58 | vim.wo.list = true |
59 | 59 | ||
60 | -- Polyglot | ||
61 | ----------- | ||
62 | |||
63 | vim.g.polyglot_disabled = { | ||
64 | "ftdetect", | ||
65 | "autoindent", | ||
66 | "sensible", | ||
67 | } | ||
68 | |||
60 | -- Leaders | 69 | -- Leaders |
61 | ---------- | 70 | ---------- |
62 | 71 | ||