diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-15 13:54:15 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-15 13:54:15 +0200 |
commit | 977990584331307dd5e71ebbbbd6b45b9c961996 (patch) | |
tree | a8b3d78e80f586da192a576dd678e2fbc8ac8e00 /.config/nvim/lua/core/autocmds.lua | |
parent | 99d00f47fe780dbb021149db2f93d202a2b8b025 (diff) |
Updates to nvim lsp
Diffstat (limited to '.config/nvim/lua/core/autocmds.lua')
-rw-r--r-- | .config/nvim/lua/core/autocmds.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/core/autocmds.lua b/.config/nvim/lua/core/autocmds.lua index 959ae15..33dea53 100644 --- a/.config/nvim/lua/core/autocmds.lua +++ b/.config/nvim/lua/core/autocmds.lua @@ -56,6 +56,10 @@ options.autocommands = { -- {'BufWinEnter', '.gmi', 'setlocal filetype=markdown'}, {'BufRead', '*.gmi', 'setlocal filetype=markdown'}, -- {'BufNewFile', '*.gmi', 'setlocal filetype=markdown'} -- }, + _git = { + { "FileType", "gitcommit", "setlocal wrap" }, + { "FileType", "gitcommit", "setlocal spell" }, + }, _markdown = { { "FileType", "markdown", "setlocal wrap" }, { "FileType", "markdown", "setlocal spell" }, |