diff options
| author | Florian Beeres <yuuki@protonmail.com> | 2020-09-18 09:44:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-18 09:44:07 +0200 |
| commit | 18adc9e17661c6ff690598e3f6e0f34708353dd3 (patch) | |
| tree | 30a376555f4e324aafc9072f81f4803af889beab /parser | |
| parent | Update CONTRIBUTING.md (diff) | |
| download | nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.tar nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.tar.gz nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.tar.bz2 nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.tar.lz nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.tar.xz nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.tar.zst nvim-treesitter-18adc9e17661c6ff690598e3f6e0f34708353dd3.zip | |
Make :TSInstall work in Nix by adding a second module installation target (#473)
* Ignore tags file in project root
* Make :TSInstall work with Nix
This commit adds logic to determine where to install parsers, meaning
the *.so files. Until now the package path of the nvim-treesitter plugin
was used. But when installed with Nix, the plugin lands in "/nix/store",
which is read-only.
With this commit $XDG_DATA_HOME/nvim/site/parser/*.go will be used as
the parser installation path. The directory will be created if it
doesn't exist.
* Add generate_join function
The generate_join function is used to create two other functions, one
to join path segments, the other to join strings with a space for error
messages.
Diffstat (limited to 'parser')
0 files changed, 0 insertions, 0 deletions
