From 38e03a7a3ea6984c88ca69d2c2d953a186cb1e86 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Mon, 22 Aug 2022 15:49:51 +0200 Subject: vim: disable polyglot's sensible defaults and use 4-sized tabs --- dotfiles/vim.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 vim.o.smartindent = true --- tabstop and shiftwidth are set locally by individual filetypes +-- tabstop and shiftwidth are also set locally by individual filetypes + +vim.o.tabstop = 4 +vim.o.shiftwidth = 4 + +vim.opt.shortmess:append "A" vim.o.inccommand = "split" @@ -135,6 +140,10 @@ end, mapopts) -- Plugins ---------- +-- Polyglot + +vim.g.polyglot_disabled = {"sensible"} + -- Gitsigns require("gitsigns").setup { -- cgit v1.2.3