aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/objc.vim
AgeCommit message (Collapse)Author
2021-07-18ftplugin/objc.vim: Switch to tab indentation in Objective-CTeddy Wing
I've gone back and forth between tabs and 4-space indentation in Objective-C. Currently working on a project that uses tab indentation so sticking with that for now.
2019-06-17vimrc: Don't preserve indentation on empty linesTeddy Wing
Over the years and as I've been using Vim, I've gradually stopped liking this style, and now prefer blank lines without whitespace. Rather than continuing to override the default for different filetypes, it feels like it's time to change the default.
2018-12-13ftplugin/objc.vim: Switch alternates on <C-^>Teddy Wing
Use FSwitch to swap .h and .m files in the current window when `<C-^>` is pressed.
2018-11-24Add ftplugin/objc{,pp}.vimTeddy Wing
Filetype plugins for Objective-C. Turns out editing ObjC in Vim is somewhat surprisingly whoppingly better than Xcode. This gets indentation set to 4-space tabs and sets the comment correct prefix (Tcomment forces /* ... */). Include `objcpp` also because ObjC header files get recognised by Vim as ObjC++.