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 /.gitignore | |
| parent | b2e1ea1edf2cb42d20a941595cd0b4fcb871a0b5 (diff) | |
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 '.gitignore')
| -rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,2 +1,3 @@ doc/tags .luacheckcache +/tags |
