dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit f141fae2c8f81af08c2725bdff4d332247f08917
parent 6e595a89bbe069d2b8da00df86ad80ec7f5ef276
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 26 Jun 2020 16:26:50 -0400

Overhaul ftplugin settings

Filetypes which required spell checking now use the SpellCheckToggle()
function.

New filetype settings were created to use tabs in C/CPP/Go/Makefile.

New filetype settings were created to use spell checking in Markdown.

Diffstat:
A.config/nvim/ftplugin/c.vim | 3+++
A.config/nvim/ftplugin/cpp.vim | 3+++
M.config/nvim/ftplugin/gitcommit.vim | 8+-------
A.config/nvim/ftplugin/go.vim | 3+++
M.config/nvim/ftplugin/mail.vim | 8+-------
M.config/nvim/ftplugin/make.vim | 2++
A.config/nvim/ftplugin/markdown.vim | 1+
A.config/nvim/ftplugin/tmux.vim | 1+
8 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/.config/nvim/ftplugin/c.vim b/.config/nvim/ftplugin/c.vim @@ -0,0 +1,3 @@ +setlocal noexpandtab +setlocal softtabstop& +setlocal shiftwidth& diff --git a/.config/nvim/ftplugin/cpp.vim b/.config/nvim/ftplugin/cpp.vim @@ -0,0 +1,3 @@ +setlocal noexpandtab +setlocal softtabstop& +setlocal shiftwidth& diff --git a/.config/nvim/ftplugin/gitcommit.vim b/.config/nvim/ftplugin/gitcommit.vim @@ -1,9 +1,3 @@ set nofoldenable set textwidth=72 -set spellfile="~/.vim/spell/en_CA.diff" -setlocal spell spelllang=en_ca -hi clear SpellBad SpellCap SpellRare SpellLocal -hi SpellBad cterm=underline,bold ctermfg=9 -hi SpellCap cterm=underline,bold ctermfg=172 -hi SpellRare cterm=bold ctermfg=5 -hi SpellLocal cterm=bold ctermfg=12 +call SpellCheckToggle() diff --git a/.config/nvim/ftplugin/go.vim b/.config/nvim/ftplugin/go.vim @@ -0,0 +1,3 @@ +setlocal noexpandtab +setlocal softtabstop& +setlocal shiftwidth& diff --git a/.config/nvim/ftplugin/mail.vim b/.config/nvim/ftplugin/mail.vim @@ -1,9 +1,3 @@ set nofoldenable set textwidth=72 -set spellfile="~/.vim/spell/en_CA.diff" -setlocal spell spelllang=en_ca -hi clear SpellBad SpellCap SpellRare SpellLocal -hi SpellBad cterm=underline,bold ctermfg=9 -hi SpellCap cterm=underline,bold ctermfg=172 -hi SpellRare cterm=bold ctermfg=5 -hi SpellLocal cterm=bold ctermfg=12 +call SpellCheckToggle() diff --git a/.config/nvim/ftplugin/make.vim b/.config/nvim/ftplugin/make.vim @@ -1 +1,3 @@ setlocal noexpandtab +setlocal softtabstop& +setlocal shiftwidth& diff --git a/.config/nvim/ftplugin/markdown.vim b/.config/nvim/ftplugin/markdown.vim @@ -0,0 +1 @@ +call SpellCheckToggle() diff --git a/.config/nvim/ftplugin/tmux.vim b/.config/nvim/ftplugin/tmux.vim @@ -0,0 +1 @@ +setlocal foldmethod=marker