summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-19 15:40:24 -0600
committerzachir <zachir@librem.one>2023-02-19 15:40:24 -0600
commit1d560d1d886f0da0619919531652495406483b8d (patch)
treebf9d44cc8e8587871350ba1e5f917be0dce56f9d /nvim/init.vim
parentdf6c2098c7dd251ba15ff25be63a00ab82ad0f49 (diff)
set textwidth=80 for .ms files
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 60418f4..5666197 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -189,6 +189,7 @@ augroup custom
autocmd!
au BufEnter *.tex :LLPStartPreview
au BufEnter *.md :set textwidth=80
+ au BufEnter *.ms :set textwidth=80
au BufWritePost init.vim :source %
au BufWritePost *.tex :make
au BufWritePost *sxhkdrc* :!pkill -USR1 -x sxhkd