Skip to content

Commit

Permalink
vim: make Vue indent 2 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
benknoble committed Jul 26, 2024
1 parent 8e1a925 commit adfb704
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions links/vim/after/ftplugin/vue.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
" Vim filetype plugin
" Language: Vue
" Maintainer: Ben Knoble <[email protected]>

" Indent two spaces
setlocal shiftwidth=2 softtabstop=2

let b:undo_ftplugin = bk#ftplugin#undo(#{
\ opts: [
\ 'shiftwidth',
\ 'softtabstop',
\ ],
\ })

0 comments on commit adfb704

Please sign in to comment.