mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
vue
This commit is contained in:
parent
273b90172e
commit
1e2550f738
3 changed files with 18 additions and 2 deletions
|
|
@ -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']
|
||||
\}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
15
nvim/my-snippets/UltiSnips/vue.snippets
Normal file
15
nvim/my-snippets/UltiSnips/vue.snippets
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
snippet comp "vue component"
|
||||
<template>
|
||||
$0
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: '$1'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
endsnippet
|
||||
Loading…
Add table
Reference in a new issue