{n,}vim: make ansible LSP usage explicit/repeatable

This commit is contained in:
Josh Lay 2024-06-21 13:19:13 -05:00
parent 46485ece7d
commit 6843714a9f
No known key found for this signature in database
GPG key ID: 47AA304B2243B579
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
set mouse= set mouse=
set expandtab " use spaces instead of \t set expandtab " use spaces instead of \t
set autoindent " match indentation of previous line set autoindent " match indentation of previous line
set runtimepath^=~/.vim runtimepath+=~/.vim/after set runtimepath^=/usr/share/vim/vimfiles runtimepath+=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath let &packpath = &runtimepath
source ~/.vimrc source ~/.vimrc

View file

@ -2,11 +2,12 @@
" 'vim'/common elements are held here while 'nvim' has another config: '.config/nvim/init.vim' " 'vim'/common elements are held here while 'nvim' has another config: '.config/nvim/init.vim'
call plug#begin('~/.vim/exts') call plug#begin('~/.vim/exts')
Plug 'AlexvZyl/nordic.nvim', { 'branch': 'main' } Plug 'AlexvZyl/nordic.nvim', { 'branch': 'main' }
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'powerman/vim-plugin-AnsiEsc' Plug 'powerman/vim-plugin-AnsiEsc'
Plug 'fladson/vim-kitty' Plug 'fladson/vim-kitty'
Plug 'pearofducks/ansible-vim', { 'do': './UltiSnips/generate.sh' } " sets filetype needed by coc-ansible
Plug 'ayu-theme/ayu-vim' " or other package manager Plug 'ayu-theme/ayu-vim' " or other package manager
" replaced 'ansible-vim' that *was* here w/ dist pkg, used by 'coc-ansible'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'yaegassy/coc-ansible', {'do': 'yarn install --frozen-lockfile'}
call plug#end() call plug#end()
" misc. preferences " misc. preferences