aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-14 21:08:00 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-15 17:59:32 +0800
commitbacb5021d4eff33c67eb659fb01125b2abcacd79 (patch)
tree553983c2a337c8183899bd3f33abb84033bce5fc /src/nvim/globals.h
parent2cf8f01e7d0469b592bacecd5f224b4fe3149a62 (diff)
downloadrneovim-bacb5021d4eff33c67eb659fb01125b2abcacd79.tar.gz
rneovim-bacb5021d4eff33c67eb659fb01125b2abcacd79.tar.bz2
rneovim-bacb5021d4eff33c67eb659fb01125b2abcacd79.zip
vim-patch:8.2.4883: string interpolation only works in heredoc
Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes vim/vim#10327) https://github.com/vim/vim/commit/2eaef106e4a7fc9dc74a7e672b5f550ec1f9786e Cherry-pick Test_Debugger_breakadd_expr() from Vim. Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index e406d93494..11888a5df8 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -1024,6 +1024,11 @@ EXTERN const char e_highlight_group_name_too_long[] INIT(= N_("E1249: Highlight
EXTERN const char e_invalid_line_number_nr[] INIT(= N_("E966: Invalid line number: %ld"));
+EXTERN char e_stray_closing_curly_str[]
+INIT(= N_("E1278: Stray '}' without a matching '{': %s"));
+EXTERN char e_missing_close_curly_str[]
+INIT(= N_("E1279: Missing '}': %s"));
+
EXTERN const char e_undobang_cannot_redo_or_move_branch[]
INIT(= N_("E5767: Cannot use :undo! to redo or move to a different undo branch"));