summaryrefslogtreecommitdiffstats
path: root/dotfiles/vim.lua
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2022-08-22 15:49:51 +0200
committerMinijackson <minijackson@riseup.net>2022-08-22 15:49:51 +0200
commit38e03a7a3ea6984c88ca69d2c2d953a186cb1e86 (patch)
tree04cc04ad06e9c72110fc1a032cff130f2e4b3317 /dotfiles/vim.lua
parent3fa4f7415d847b53d4e7595538f561f79fe442cd (diff)
downloadnixos-config-reborn-38e03a7a3ea6984c88ca69d2c2d953a186cb1e86.tar.gz
nixos-config-reborn-38e03a7a3ea6984c88ca69d2c2d953a186cb1e86.zip
vim: disable polyglot's sensible defaults and use 4-sized tabs
Diffstat (limited to 'dotfiles/vim.lua')
-rw-r--r--dotfiles/vim.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/dotfiles/vim.lua b/dotfiles/vim.lua
index 4588ae8..a993e99 100644
--- a/dotfiles/vim.lua
+++ b/dotfiles/vim.lua
@@ -14,7 +14,12 @@ vim.o.smartcase = true
14 14
15vim.o.smartindent = true 15vim.o.smartindent = true
16 16
17-- tabstop and shiftwidth are set locally by individual filetypes 17-- tabstop and shiftwidth are also set locally by individual filetypes
18
19vim.o.tabstop = 4
20vim.o.shiftwidth = 4
21
22vim.opt.shortmess:append "A"
18 23
19vim.o.inccommand = "split" 24vim.o.inccommand = "split"
20 25
@@ -135,6 +140,10 @@ end, mapopts)
135-- Plugins 140-- Plugins
136---------- 141----------
137 142
143-- Polyglot
144
145vim.g.polyglot_disabled = {"sensible"}
146
138-- Gitsigns 147-- Gitsigns
139 148
140require("gitsigns").setup { 149require("gitsigns").setup {