From 03d52dcf7019d3bab7e8dfa2f886ca3ef82d1eb1 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 22 Jul 2024 18:28:05 +0200 Subject: [PATCH] nvim: fix indentation for markdown files --- config/nvim/after/ftplugin/markdown.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nvim/after/ftplugin/markdown.lua b/config/nvim/after/ftplugin/markdown.lua index 6f54b43..9b26e69 100644 --- a/config/nvim/after/ftplugin/markdown.lua +++ b/config/nvim/after/ftplugin/markdown.lua @@ -1,3 +1,4 @@ vim.bo.tabstop = 2 +vim.bo.shiftwidth = 0 -- use 'tabstop' for indenting vim.opt.formatoptions:append('t') -- wrap text on 'textwidth' vim.opt.spell = true -- turn on spell checking