aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-07 04:40:20 +0000
committerBlaž Hrastnik2021-04-07 04:40:20 +0000
commit3bab640491be6c065e7cf11672f49a1b41c15e99 (patch)
tree6e60fd152e9488a979b0bb33312b01be4ec53944 /helix-syntax
parent463f58dfda3d72865860e53759ab001c94a85989 (diff)
Add c++, js, css, html language definitions.
Diffstat (limited to 'helix-syntax')
-rw-r--r--helix-syntax/build.rs5
-rw-r--r--helix-syntax/src/lib.rs2
2 files changed, 2 insertions, 5 deletions
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),