diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-28 00:00:38 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-28 00:00:38 +0900 |
| commit | 5f6941aa610fcc82c34782ed140b83b4497fd048 (patch) | |
| tree | 0b36056c36db563c82694b055fd23f9ece0fd127 /.config/nvim/after/ftplugin/cpp.lua | |
| parent | b73d4c0bff913467628ecddd2b5ac9eb66f55118 (diff) | |
| download | dotfiles-5f6941aa610fcc82c34782ed140b83b4497fd048.tar.gz dotfiles-5f6941aa610fcc82c34782ed140b83b4497fd048.tar.zst dotfiles-5f6941aa610fcc82c34782ed140b83b4497fd048.zip | |
neovim: rewrite after/ftplugin/* in Lua
Diffstat (limited to '.config/nvim/after/ftplugin/cpp.lua')
| -rw-r--r-- | .config/nvim/after/ftplugin/cpp.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/cpp.lua b/.config/nvim/after/ftplugin/cpp.lua new file mode 100644 index 0000000..5ace4e2 --- /dev/null +++ b/.config/nvim/after/ftplugin/cpp.lua @@ -0,0 +1,6 @@ +vimrc.after_ftplugin('cpp', function(conf) + conf.indent(conf.SPACE, 4) + vim.bo.cinoptions = ':0,l1,g0,N-s' + vim.g.c_comment_strings = true + vim.g.c_space_errors = true +end)
\ No newline at end of file |
