mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 11:23:31 +04:00
syntax: Build C++ grammars as c++14
The haskell grammar requires at last c++14 to build. Fixes #117
This commit is contained in:
parent
8f78c0c612
commit
72eaaaac99
@ -63,7 +63,8 @@ fn build_cpp(files: Vec<String>, language: &str) {
|
|||||||
.include(PathBuf::from(file).parent().unwrap())
|
.include(PathBuf::from(file).parent().unwrap())
|
||||||
.pic(true)
|
.pic(true)
|
||||||
.warnings(false)
|
.warnings(false)
|
||||||
.cpp(true);
|
.cpp(true)
|
||||||
|
.flag("-std=c++14");
|
||||||
}
|
}
|
||||||
build.compile(&format!("tree-sitter-{}-cpp", language));
|
build.compile(&format!("tree-sitter-{}-cpp", language));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user