yes there's a bit of java in my nvim config why do you ask?
This commit is contained in:
6
after/ftplugin/c.lua
Normal file
6
after/ftplugin/c.lua
Normal file
@ -0,0 +1,6 @@
|
||||
local misc = require('core.misc')
|
||||
local map_local = misc.map_local
|
||||
|
||||
-- sort #includes <> (very jank)
|
||||
-- TODO: rewrite in a semi-sane way
|
||||
map_local("n", "cri", "mz/^#include.*<.*>$<CR>ggVGN:sort<CR>`z<cmd>delm z<CR>:nohlsearch<Bar>:echo<CR>")
|
Reference in New Issue
Block a user