~smlavine/dots

c1754f3dd4231d507966ebc6da6794e302affbc2 — Sebastian LaVine 1 year, 7 months ago 0e7175d
matchindent.vim: Use my init.vim tab settings

This removes the future headache-inducer of having to change my tab
settings in two files for the rest of time, or have to have my tab
settings declared here instead.
1 files changed, 2 insertions(+), 11 deletions(-)

M src/.config/nvim/plugin/matchindent.vim
M src/.config/nvim/plugin/matchindent.vim => src/.config/nvim/plugin/matchindent.vim +2 -11
@@ 99,17 99,8 @@ function! MatchIndent()

	" Actually apply the rules now
	if use_tabs > 0
		" Modified by Sebastian LaVine <mail@smlavine.com>,
		" 2021-10-12. See <https://git.sr.ht/~smlavine/dots>.
		" I use 8-space-long tabs.
		set noexpandtab
		set shiftwidth=8
		set softtabstop=8
		set tabstop=8
		"set noexpandtab
		"set shiftwidth=4
		"set softtabstop=4
		"set tabstop=4
		" Use user's tab settings
		" Modification by Sebastian LaVine, who uses 8-wide tabs
	endif
	if use_2_spaces > 0
		set expandtab