From 3bab640491be6c065e7cf11672f49a1b41c15e99 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 7 Apr 2021 13:40:20 +0900 Subject: Add c++, js, css, html language definitions. --- helix-syntax/build.rs | 5 +---- helix-syntax/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'helix-syntax') diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index ecf33dfe..009acbff 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -107,10 +107,7 @@ fn build_dir(dir: &str, language: &str) { } fn main() { - let ignore = vec![ - "tree-sitter-typescript".to_string(), - "tree-sitter-cpp".to_string(), - ]; + let ignore = vec!["tree-sitter-typescript".to_string()]; let dirs = collect_tree_sitter_dirs(&ignore); let mut n_jobs = 0; diff --git a/helix-syntax/src/lib.rs b/helix-syntax/src/lib.rs index 5d3e0d99..79c1c1f5 100644 --- a/helix-syntax/src/lib.rs +++ b/helix-syntax/src/lib.rs @@ -70,7 +70,7 @@ mk_langs!( (Bash, tree_sitter_bash), (C, tree_sitter_c), (CSharp, tree_sitter_c_sharp), - // (Cpp, tree_sitter_cpp), + (Cpp, tree_sitter_cpp), (Css, tree_sitter_css), (Go, tree_sitter_go), // (Haskell, tree_sitter_haskell), -- cgit v1.2.3-70-g09d2