mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-22 07:15:25 +00:00
Merge branch 'updates' into 'main'
Nvim role cleanup See merge request sagidayan/linux-config!22
This commit is contained in:
commit
6bf0b284f9
2 changed files with 7 additions and 2 deletions
|
@ -1,2 +1,4 @@
|
|||
---
|
||||
nvim_extention_treesitter: false
|
||||
nvim_extention_treesitter_file: ~/.config/nvim/lua/user/packer_extention_treesitter.lua
|
||||
empty_lua_module: "return {}"
|
||||
|
|
|
@ -27,7 +27,10 @@
|
|||
debug:
|
||||
msg: "TreeSitter: {{ nvim_extention_treesitter }}"
|
||||
|
||||
- name: nvim extention treesitter
|
||||
- name: setup nvim extention treesitter
|
||||
shell: |
|
||||
echo "return {}" > ~/.config/nvim/lua/user/packer_extention_treesitter.lua
|
||||
echo {{ empty_lua_module }} > {{ nvim_extention_treesitter_file }}
|
||||
when: nvim_extention_treesitter
|
||||
- name: remove nvim extention treesitter
|
||||
shell: "rm -rf {{ nvim_extention_treesitter_file }}"
|
||||
when: not nvim_extention_treesitter
|
||||
|
|
Loading…
Reference in a new issue