Skip install jsregexp for windows
This commit is contained in:
@@ -29,8 +29,9 @@ The following are optional but provides additional features:
|
|||||||
- gcc and g++
|
- gcc and g++
|
||||||
- npm
|
- npm
|
||||||
- python3 with venv
|
- python3 with venv
|
||||||
- java runtime
|
- java JDK
|
||||||
- shellcheck
|
- shellcheck
|
||||||
|
- jsregexp
|
||||||
|
|
||||||
The sections below describes this in more detail.
|
The sections below describes this in more detail.
|
||||||
|
|
||||||
@@ -38,7 +39,9 @@ The sections below describes this in more detail.
|
|||||||
Some parsers require tools for compilation, like `gcc` and/or `g++`. There are far too many parsers for me to list (and keep track of) all their dependencies here, but `gcc` and `g++` should cover a lot of them. You will generally encounter an error that describes if something is missing upon opening specific filetypes, because treesitter is configured to automatically install parsers when needed.
|
Some parsers require tools for compilation, like `gcc` and/or `g++`. There are far too many parsers for me to list (and keep track of) all their dependencies here, but `gcc` and `g++` should cover a lot of them. You will generally encounter an error that describes if something is missing upon opening specific filetypes, because treesitter is configured to automatically install parsers when needed.
|
||||||
|
|
||||||
### LuaSnip
|
### LuaSnip
|
||||||
`jsregexp` is required in order to perform some [transformations](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variable-transforms). See [here](https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#transformations) for more information. You don't need to install this yourself, because it will attempt to compile it automatically using `make` and `gcc`. If either `make` or `gcc` is not available you might see an error in the lazy installation of LuaSnip.
|
`jsregexp` is required in order to perform some [transformations](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variable-transforms). See [here](https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#transformations) for more information.
|
||||||
|
|
||||||
|
You will need to manually install `jsregexp` on windows, while it's installed automatically on other platforms using `make` and `gcc`.
|
||||||
|
|
||||||
### Language servers
|
### Language servers
|
||||||
Language servers are installed automatically to the nvim data directory (`:echo stdpath('data') .. '/mason'`). The following are some noted requirements for the installations themselves:
|
Language servers are installed automatically to the nvim data directory (`:echo stdpath('data') .. '/mason'`). The following are some noted requirements for the installations themselves:
|
||||||
|
|||||||
@@ -35,7 +35,11 @@ local plugins = {
|
|||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
config = function () require("plugins.config.luasnip") end,
|
config = function () require("plugins.config.luasnip") end,
|
||||||
-- comment out on windows and install jsregexp manually
|
-- comment out on windows and install jsregexp manually
|
||||||
build = "make install_jsregexp",
|
build = (
|
||||||
|
require("utils").os_name ~= "Windows_NT"
|
||||||
|
and "make install_jsregexp"
|
||||||
|
or nil
|
||||||
|
),
|
||||||
version = "2.*",
|
version = "2.*",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user