From 6843714a9f7db675bfa05c945d20a35c77c38801 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Fri, 21 Jun 2024 13:19:13 -0500 Subject: [PATCH] {n,}vim: make ansible LSP usage explicit/repeatable --- outerheaven.init3.home/.config/nvim/init.vim | 2 +- outerheaven.init3.home/.vimrc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/outerheaven.init3.home/.config/nvim/init.vim b/outerheaven.init3.home/.config/nvim/init.vim index 9c0ccb6..24327b9 100644 --- a/outerheaven.init3.home/.config/nvim/init.vim +++ b/outerheaven.init3.home/.config/nvim/init.vim @@ -1,7 +1,7 @@ set mouse= set expandtab " use spaces instead of \t 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 source ~/.vimrc diff --git a/outerheaven.init3.home/.vimrc b/outerheaven.init3.home/.vimrc index d5ebbac..31bb4d8 100644 --- a/outerheaven.init3.home/.vimrc +++ b/outerheaven.init3.home/.vimrc @@ -2,11 +2,12 @@ " 'vim'/common elements are held here while 'nvim' has another config: '.config/nvim/init.vim' call plug#begin('~/.vim/exts') Plug 'AlexvZyl/nordic.nvim', { 'branch': 'main' } -Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'powerman/vim-plugin-AnsiEsc' 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 +" 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() " misc. preferences