This commit is contained in:
Pavel Korytov 2019-10-14 10:48:32 +03:00
parent 273b90172e
commit 1e2550f738
3 changed files with 18 additions and 2 deletions

View file

@ -45,7 +45,7 @@ Plug 'ivanov/vim-ipython'
"Js & stuff
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
"Plug 'mxw/vim-jsx'
Plug 'posva/vim-vue'
Plug 'alvan/vim-closetag'
@ -299,6 +299,7 @@ let g:ale_fixers = {
\ 'python': ['yapf', 'isort', 'remove_trailing_lines', 'trim_whitespace'],
\ 'tex': ['latexindent', 'textlint', 'remove_trailing_lines', 'trim_whitespace'],
\ 'js': ['eslint'],
\ 'jsx': ['eslint'],
\ 'vue': ['eslint'],
\ 'cpp': ['clang-format', 'remove_trailing_lines', 'trim_whitespace']
\}

View file

@ -1,7 +1,7 @@
snippet 'sympy(.*)sympy' "evaluate sympy" wr
`!p
from sympy import *
x, y, z, t = symbols('x y z t')
x, y, z, t, i = symbols('x y z t i')
k, m, n = symbols('k m n', integer=True)
f, g, h = symbols('f g h', cls=Function)
init_printing()

View file

@ -0,0 +1,15 @@
snippet comp "vue component"
<template>
$0
</template>
<script>
export default {
name: '$1'
}
</script>
<style scoped>
</style>
endsnippet