mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Don't install Treesitter on Windows
This commit is contained in:
parent
2be37d4c4b
commit
66dfa9d0dc
3 changed files with 11 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
local neorg = require('neorg')
|
||||
local ok, neorg = pcall(require, 'neorg')
|
||||
if not ok then return end;
|
||||
|
||||
local ok, cmp = pcall(require, 'cmp')
|
||||
if not ok then return end;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
|
||||
local ok, parser_configs = pcall(require, 'nvim-treesitter.parsers')
|
||||
if not ok then return end
|
||||
|
||||
local parser_configs = parser_configs.get_parser_configs()
|
||||
|
||||
parser_configs.norg = {
|
||||
install_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue