aboutsummaryrefslogtreecommitdiff
path: root/editors/helix/files
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2021-09-18 07:11:13 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2021-09-18 07:13:40 +0000
commit430f5e1fdff4644bc9a7547ceea62a927cd61578 (patch)
tree37828211a217d193a95286503fc52079b179eb48 /editors/helix/files
parent45943b854c98a2300f9c35dcf9b88d889fd33709 (diff)
downloadports-430f5e1fdff4644bc9a7547ceea62a927cd61578.tar.gz
ports-430f5e1fdff4644bc9a7547ceea62a927cd61578.zip
editors/helix: New port: Post-modern modal text editor
A kakoune / neovim inspired editor, written in Rust. Features: o Vim-like modal editing o Multiple selections o Built-in language server support o Smart, incremental syntax highlighting and code editing via tree-sitter WWW: https://helix-editor.com/
Diffstat (limited to 'editors/helix/files')
-rw-r--r--editors/helix/files/patch-helix-core_src_lib.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/helix/files/patch-helix-core_src_lib.rs b/editors/helix/files/patch-helix-core_src_lib.rs
new file mode 100644
index 000000000000..ee8dfd910530
--- /dev/null
+++ b/editors/helix/files/patch-helix-core_src_lib.rs
@@ -0,0 +1,11 @@
+--- helix-core/src/lib.rs.orig 2021-09-18 05:55:12 UTC
++++ helix-core/src/lib.rs
+@@ -73,6 +73,8 @@ pub fn runtime_dir() -> std::path::PathBuf {
+ // this is the directory of the crate being run by cargo, we need the workspace path so we take the parent
+ return std::path::PathBuf::from(dir).parent().unwrap().join(RT_DIR);
+ }
++
++ return std::path::PathBuf::from("%%DATADIR%%").join(RT_DIR);
+
+ // fallback to location of the executable being run
+ std::env::current_exe()