mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-21 23:05:25 +00:00
Nvim role cleanup
This commit is contained in:
parent
60a740f94a
commit
9ae429848c
2 changed files with 7 additions and 2 deletions
|
@ -1,2 +1,4 @@
|
||||||
---
|
---
|
||||||
nvim_extention_treesitter: false
|
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:
|
debug:
|
||||||
msg: "TreeSitter: {{ nvim_extention_treesitter }}"
|
msg: "TreeSitter: {{ nvim_extention_treesitter }}"
|
||||||
|
|
||||||
- name: nvim extention treesitter
|
- name: setup nvim extention treesitter
|
||||||
shell: |
|
shell: |
|
||||||
echo "return {}" > ~/.config/nvim/lua/user/packer_extention_treesitter.lua
|
echo {{ empty_lua_module }} > {{ nvim_extention_treesitter_file }}
|
||||||
when: nvim_extention_treesitter
|
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