Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Jan 11, 2025
1 parent c8ff397 commit b691217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions after/ftplugin/c.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ setl expandtab
setl shiftwidth=4
setl softtabstop=4
setl tabstop=4

inoreabbrev <buffer> #i #include
inoreabbrev s struct
inoreabbrev t typdef
2 changes: 0 additions & 2 deletions after/ftplugin/lua.lua → after/ftplugin/lua.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
vim.cmd([[
" From https://github.com/tpope/tpope/blob/master/.vimrc
setlocal includeexpr=substitute(v:fname,'\\.','/','g').'.lua'
setlocal comments-=:-- comments+=:---,:--
Expand All @@ -7,4 +6,3 @@ inoreabbrev <buffer> lo local
inoreabbrev <buffer> lf local function()<left><left>
inoreabbrev <buffer> fu function() end<left><left><left><left>
inoreabbrev <buffer> fo (''):format()<left><left><s-left><left><left><left>
]])

0 comments on commit b691217

Please sign in to comment.