summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorErnie Rael <errael@raelity.com>2024-04-16 22:11:56 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-16 22:11:56 +0200
commit9a90179a11b433fcbcf587182032222e229c6d75 (patch)
tree19109477719add748d5f2b2dccdc3bca3e69dd3b /src/structs.h
parentd1068a2bb09fd3b9d117d832105bf10dd5e48e2f (diff)
patch 9.1.0338: Vim9: import through symlinks not correctly handledv9.1.0338
Problem: Vim9: import through symlinks not correctly handled Solution: Check for script being a symlink but only once (Ernie Rael) closes: #14565 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index f9a72e1454..36339c4347 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2131,6 +2131,7 @@ typedef struct
int sn_state; // SN_STATE_ values
char_u *sn_save_cpo; // 'cpo' value when :vim9script found
char sn_is_vimrc; // .vimrc file, do not restore 'cpo'
+ char sn_syml_checked;// flag: this has been checked for sym link
// for a Vim9 script under "rtp/autoload/" this is "dir#scriptname#"
char_u *sn_autoload_prefix;