automatrop: Small changes in vim plugins
This commit is contained in:
parent
3cd3f0eb1f
commit
6fc75d040e
|
@ -35,6 +35,7 @@ source ~/.config/vim/theme.vim
|
||||||
|
|
||||||
" Search/replace
|
" Search/replace
|
||||||
{{ use_plugin('abolish') }}
|
{{ use_plugin('abolish') }}
|
||||||
|
{{ use_plugin('easy_align') }}
|
||||||
|
|
||||||
" Sourounding pairs
|
" Sourounding pairs
|
||||||
{{ use_plugin('surround') }}
|
{{ use_plugin('surround') }}
|
||||||
|
@ -70,6 +71,9 @@ source ~/.config/vim/theme.vim
|
||||||
{% if variant == 'nvim' %}
|
{% if variant == 'nvim' %}
|
||||||
{{ use_plugin('treesitter') }}
|
{{ use_plugin('treesitter') }}
|
||||||
{{ use_plugin('ts-rainbow') }}
|
{{ use_plugin('ts-rainbow') }}
|
||||||
|
{# TODO
|
||||||
|
{{ use_plugin('indent-blankline') }}
|
||||||
|
#}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
" Snippets
|
" Snippets
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{# Show ident lines #}
|
||||||
|
{{ add_source('lukas-reineke/indent-blankline.nvim') -}}
|
||||||
|
let g:indent_blankline_char_highlight_list = ['Error', 'Function']
|
|
@ -42,7 +42,10 @@ end
|
||||||
-- map buffer local keybindings when the language server attaches
|
-- map buffer local keybindings when the language server attaches
|
||||||
local servers = {
|
local servers = {
|
||||||
{% if 'python' in dev_stuffs %}
|
{% if 'python' in dev_stuffs %}
|
||||||
"pyls",
|
"pylsp",
|
||||||
|
{% endif %}
|
||||||
|
{% if 'php' in dev_stuffs %}
|
||||||
|
"phpactor", -- Install this one manually https://phpactor.readthedocs.io/en/master/usage/standalone.html#global-installation
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
|
|
|
@ -18,9 +18,9 @@ noremap gc <cmd>Telescope commands<cr>
|
||||||
noremap gr <cmd>Telescope lsp_references<cr>
|
noremap gr <cmd>Telescope lsp_references<cr>
|
||||||
noremap ga <cmd>Telescope lsp_code_actions<cr>
|
noremap ga <cmd>Telescope lsp_code_actions<cr>
|
||||||
vnoremap ga <cmd>Telescope lsp_range_code_actions<cr>
|
vnoremap ga <cmd>Telescope lsp_range_code_actions<cr>
|
||||||
noremap gq <cmd>Telescope lsp_document_diagnostics<cr>
|
noremap ge <cmd>Telescope lsp_document_diagnostics<cr>
|
||||||
noremap gE <cmd>Telescope lsp_workspace_diagnostics<cr>
|
noremap gE <cmd>Telescope lsp_workspace_diagnostics<cr>
|
||||||
noremap ge <cmd>Telescope lsp_definitions<cr>
|
noremap gd <cmd>Telescope lsp_definitions<cr>
|
||||||
|
|
||||||
lua << EOF
|
lua << EOF
|
||||||
require('telescope').setup{
|
require('telescope').setup{
|
||||||
|
|
Loading…
Reference in a new issue