diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-22 18:49:49 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-22 18:49:49 -0400 |
commit | 274091478134d56aa61c60373215f475651188bb (patch) | |
tree | ee63f6950379e0b67d789189dd7f80771739f3cc /after | |
parent | fb93992c3fb6bce50ff26a0a4214a17952e3fe89 (diff) | |
download | nvim-274091478134d56aa61c60373215f475651188bb.tar.gz nvim-274091478134d56aa61c60373215f475651188bb.tar.bz2 nvim-274091478134d56aa61c60373215f475651188bb.zip |
set spell when entering commit, and use ftplugin instead of autocmds
Diffstat (limited to '')
-rw-r--r-- | after/ftplugin/gitcommit.lua | 2 | ||||
l--------- | after/ftplugin/gitrebase.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/after/ftplugin/gitcommit.lua b/after/ftplugin/gitcommit.lua new file mode 100644 index 0000000..8207d63 --- /dev/null +++ b/after/ftplugin/gitcommit.lua @@ -0,0 +1,2 @@ +vim.cmd('set spell!') +vim.cmd('startinsert | 1') diff --git a/after/ftplugin/gitrebase.lua b/after/ftplugin/gitrebase.lua new file mode 120000 index 0000000..9619e9a --- /dev/null +++ b/after/ftplugin/gitrebase.lua @@ -0,0 +1 @@ +gitcommit.lua
\ No newline at end of file |