Skip to content

Commit

Permalink
Add support for nvim lua; add nvim mason - tree sitter marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
danpawlik committed Feb 1, 2024
1 parent 9c4e008 commit 86371fd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ansible/roles/dotfiles/tasks/vim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- "general.vim"
- "plugins_conf.vim"
- "plugins.vim"
- "lua"

- name: Copy config files
copy:
Expand Down Expand Up @@ -67,6 +68,14 @@
src: ~/.vimrc
dest: ~/.config/nvim/init.vim
state: link
when: vim_distro == 'neovim'

- name: Create symlink to lua dir
ansible.builtin.file:
src: ~/.vim/lua
dest: ~/.config/nvim/lua
state: link
when: vim_distro == 'neovim'

- name: Configure vim coc
environment:
Expand All @@ -79,6 +88,7 @@

- name: Install vim plugins - neovim
shell: |
# consider: nvim --headless +PlugInstall +qall
~/.local/nvim/usr/bin/nvim +PlugInstall +qall
when: vim_distro == 'neovim'

Expand Down
1 change: 1 addition & 0 deletions vimrc/lua/configs/mason.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require('mason').setup()
1 change: 1 addition & 0 deletions vimrc/lua/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("configs.mason")

0 comments on commit 86371fd

Please sign in to comment.