diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-19 22:28:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-19 22:28:06 +0900 |
| commit | ed4b5f69144ee6f93e0c7059b3676c230cbce581 (patch) | |
| tree | d5a7ff65fe56c75d6589f00cc9de49dee5d48db5 /.config/vim/my/after/ftplugin/cpp.vim | |
| parent | 0d4a7fe77275a40996a710b673e58b4d2d78a8f4 (diff) | |
| download | dotfiles-ed4b5f69144ee6f93e0c7059b3676c230cbce581.tar.gz dotfiles-ed4b5f69144ee6f93e0c7059b3676c230cbce581.tar.zst dotfiles-ed4b5f69144ee6f93e0c7059b3676c230cbce581.zip | |
vim: make vim XDG-Base-Directory-aware
Diffstat (limited to '.config/vim/my/after/ftplugin/cpp.vim')
| -rw-r--r-- | .config/vim/my/after/ftplugin/cpp.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/vim/my/after/ftplugin/cpp.vim b/.config/vim/my/after/ftplugin/cpp.vim new file mode 100644 index 0000000..13c0374 --- /dev/null +++ b/.config/vim/my/after/ftplugin/cpp.vim @@ -0,0 +1,20 @@ +scriptencoding utf-8 + + +if exists('b:did_ftplugin_cpp_after') + finish +endif + + + +FtpluginSetLocal expandtab +FtpluginSetLocal shiftwidth=4 +FtpluginSetLocal softtabstop=4 +FtpluginSetLocal cinoptions=:0,l1,g0,N-s + +let g:c_comment_strings = v:true +let g:c_space_errors = v:true + + + +let b:did_ftplugin_cpp_after = 1
\ No newline at end of file |
