Closed kiuKisas closed 1 month ago
E.g, I install solid-snippets through lazy.vim, so my snippets are in /home/xxx/.local/share/nvim/lazy/solid-snippets/snippets; what would be the easiest & future-proof way to add snippets installed this way ?
lazy.vim
/home/xxx/.local/share/nvim/lazy/solid-snippets/snippets
You can use the search_paths option. In this case you can use search_paths = {vim.fn.stdpath('data') .. '/lazy/solid-snippets/snippets'}
search_paths
search_paths = {vim.fn.stdpath('data') .. '/lazy/solid-snippets/snippets'}
E.g, I install solid-snippets through
lazy.vim
, so my snippets are in/home/xxx/.local/share/nvim/lazy/solid-snippets/snippets
; what would be the easiest & future-proof way to add snippets installed this way ?