|
@ -35,6 +35,7 @@ Plug 'nvim-treesitter/nvim-treesitter-textobjects' |
|
|
Plug 'kyazdani42/nvim-web-devicons' " Icons... |
|
|
Plug 'kyazdani42/nvim-web-devicons' " Icons... |
|
|
Plug 'mfussenegger/nvim-dap', { 'for': ['typescript', 'javascript', 'python', 'rust'] } |
|
|
Plug 'mfussenegger/nvim-dap', { 'for': ['typescript', 'javascript', 'python', 'rust'] } |
|
|
Plug 'lbrayner/vim-rzip' " recursive zip support, needed for yarn pnp |
|
|
Plug 'lbrayner/vim-rzip' " recursive zip support, needed for yarn pnp |
|
|
|
|
|
Plug 'kkoomen/vim-doge', { 'do': { -> doge#install() } } |
|
|
|
|
|
|
|
|
" telescope. Needed for octo.nvim, might replace fzf |
|
|
" telescope. Needed for octo.nvim, might replace fzf |
|
|
Plug 'nvim-lua/popup.nvim' |
|
|
Plug 'nvim-lua/popup.nvim' |
|
@ -71,7 +72,6 @@ Plug 'jvanja/vim-bootstrap4-snippets', { 'for': ['html', 'blade'] } |
|
|
|
|
|
|
|
|
" JavaScript{{{ |
|
|
" JavaScript{{{ |
|
|
Plug 'gavocanov/vim-js-indent', { 'for': [ 'javascript' ]} " JavaScript indent support |
|
|
Plug 'gavocanov/vim-js-indent', { 'for': [ 'javascript' ]} " JavaScript indent support |
|
|
Plug 'heavenshell/vim-jsdoc', { 'for': [ 'javascript', 'typescript', 'vue' ], 'do': 'make install'} " Generate JSDoc comments |
|
|
|
|
|
Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html', 'vue' ] } " vue.js integration |
|
|
Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html', 'vue' ] } " vue.js integration |
|
|
Plug 'kevinoid/vim-jsonc' |
|
|
Plug 'kevinoid/vim-jsonc' |
|
|
"}}} |
|
|
"}}} |
|
@ -114,6 +114,10 @@ Plug 'heavenshell/vim-pydocstring', { 'for': ['python'], 'do': 'make install' } |
|
|
Plug 'anntzer/vim-cython', { 'for': ['python']} |
|
|
Plug 'anntzer/vim-cython', { 'for': ['python']} |
|
|
"}}} |
|
|
"}}} |
|
|
|
|
|
|
|
|
|
|
|
"{{{ CSV |
|
|
|
|
|
Plug 'chrisbra/csv.vim', { 'for': 'csv' } |
|
|
|
|
|
"}}} |
|
|
|
|
|
|
|
|
" All of your Plugins must be added before the following line |
|
|
" All of your Plugins must be added before the following line |
|
|
call plug#end() " required |
|
|
call plug#end() " required |
|
|
filetype plugin indent on " required |
|
|
filetype plugin indent on " required |
|
@ -240,6 +244,7 @@ nnoremap <leader>tn :tabnew<cr> |
|
|
|
|
|
|
|
|
nnoremap <F3> :Git<cr> |
|
|
nnoremap <F3> :Git<cr> |
|
|
nnoremap <F4> :Git push<cr> |
|
|
nnoremap <F4> :Git push<cr> |
|
|
|
|
|
|
|
|
"}}} |
|
|
"}}} |
|
|
|
|
|
|
|
|
" {{{ Textobjects |
|
|
" {{{ Textobjects |
|
@ -260,12 +265,12 @@ require'nvim-treesitter.configs'.setup { |
|
|
["ic"] = "@class.inner", |
|
|
["ic"] = "@class.inner", |
|
|
|
|
|
|
|
|
-- Or you can define your own textobjects like this |
|
|
-- Or you can define your own textobjects like this |
|
|
["iF"] = { |
|
|
|
|
|
python = "(function_definition) @function", |
|
|
|
|
|
cpp = "(function_definition) @function", |
|
|
|
|
|
c = "(function_definition) @function", |
|
|
|
|
|
java = "(method_declaration) @function", |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
-- ["iF"] = { |
|
|
|
|
|
-- python = "(function_definition) @function", |
|
|
|
|
|
-- cpp = "(function_definition) @function", |
|
|
|
|
|
-- c = "(function_definition) @function", |
|
|
|
|
|
-- java = "(method_declaration) @function", |
|
|
|
|
|
-- }, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
@ -493,5 +498,10 @@ require('telescope').load_extension('fzf') |
|
|
EOF |
|
|
EOF |
|
|
"}}} |
|
|
"}}} |
|
|
|
|
|
|
|
|
|
|
|
" doge settings |
|
|
|
|
|
let g:doge_javascript_settings = { |
|
|
|
|
|
\ 'omit_redundant_param_types': 1, |
|
|
|
|
|
\} |
|
|
|
|
|
let g:doge_doc_standard_python = 'google' |
|
|
|
|
|
|
|
|
"}}} |
|
|
"}}} |