]> Untitled Git - vimfiles.git/commitdiff
as it turns out; clang-format is bad at formatting javascript
authorPhilippe Hürlimann <p@hurlimann.org>
Mon, 12 Jun 2017 16:12:58 +0000 (18:12 +0200)
committerPhilippe Hürlimann <p@hurlimann.org>
Mon, 12 Jun 2017 16:12:58 +0000 (18:12 +0200)
ftplugin/javascript.vim [deleted file]

diff --git a/ftplugin/javascript.vim b/ftplugin/javascript.vim
deleted file mode 100644 (file)
index 2f4f576..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-function! FormatFile()
-    let l:lines="all"
-    pyf /usr/share/clang/clang-format.py
-endfunction
-
-nnoremap <leader>f :call FormatFile()<cr>
-