treewide: Fix occurences of ill-defined escapes
This commit is contained in:
parent
84eb645293
commit
51abc53252
8 changed files with 13 additions and 13 deletions
|
|
@ -55,9 +55,9 @@ rec {
|
|||
serverAdapterOption = mkAdapterType {
|
||||
host = lib.nixvim.defaultNullOpts.mkStr "127.0.0.1" "Host to connect to.";
|
||||
|
||||
port = mkNullOrOption (types.either types.int (types.enum [ "$\{port}" ])) ''
|
||||
port = mkNullOrOption (types.either types.int (types.enum [ "\${port}" ])) ''
|
||||
Port to connect to.
|
||||
If "$\{port}" dap resolves a free port.
|
||||
If "$${port}" dap resolves a free port.
|
||||
This is intended to be used with `executable.args`.
|
||||
'';
|
||||
|
||||
|
|
@ -78,7 +78,7 @@ rec {
|
|||
};
|
||||
|
||||
pipeAdapterOption = mkAdapterType {
|
||||
pipe = lib.nixvim.defaultNullOpts.mkStr "$\{pipe}" "Pipe name.";
|
||||
pipe = lib.nixvim.defaultNullOpts.mkStr "\${pipe}" "Pipe name.";
|
||||
|
||||
executable = {
|
||||
command = mkNullOrOption types.str "Command that spawns the adapter.";
|
||||
|
|
|
|||
|
|
@ -161,11 +161,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"R" = "REPLACE";
|
||||
"v" = "VISUAL";
|
||||
"V" = "V-LINE";
|
||||
"\<C-v>" = "V-BLOCK";
|
||||
"<C-v>" = "V-BLOCK";
|
||||
"c" = "COMMAND";
|
||||
"s" = "SELECT";
|
||||
"S" = "S-LINE";
|
||||
"\<C-s>" = "S-BLOCK";
|
||||
"<C-s>" = "S-BLOCK";
|
||||
"t" = "TERMINAL";
|
||||
}
|
||||
''
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
Custom port to start server or empty for random.
|
||||
'';
|
||||
|
||||
page_title = defaultNullOpts.mkStr "「\$\{name}」" ''
|
||||
page_title = defaultNullOpts.mkStr "「\${name}」" ''
|
||||
Preview page title.
|
||||
`$${name}` will be replaced with the file name.
|
||||
'';
|
||||
|
|
@ -186,7 +186,7 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
markdown_css = "/Users/username/markdown.css";
|
||||
highlight_css.__raw = "vim.fn.expand('~/highlight.css')";
|
||||
port = "8080";
|
||||
page_title = "「\$\{name}」";
|
||||
page_title = "「\${name}」";
|
||||
theme = "dark";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
strip_wrapping_quote_characters = lib.nixvim.defaultNullOpts.mkListOf lib.types.str [
|
||||
"'"
|
||||
"\""
|
||||
"\`"
|
||||
"`"
|
||||
] "";
|
||||
|
||||
handle_leading_whitespace = lib.nixvim.defaultNullOpts.mkBool false ''
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
haskell = {
|
||||
parentheses = [
|
||||
"start=/\\[/ end=/\\]/ fold"
|
||||
"start=/\v\{\ze[^-]/ end=/}/ fold"
|
||||
"start=/\\v\\{\\ze[^-]/ end=/}/ fold"
|
||||
];
|
||||
};
|
||||
css = 0;
|
||||
|
|
|
|||
|
|
@ -255,8 +255,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
settingsExample = {
|
||||
highlight = {
|
||||
pattern = [
|
||||
".*<(KEYWORDS)\s*:"
|
||||
".*<(KEYWORDS)\s*"
|
||||
".*<(KEYWORDS)\\s*:"
|
||||
".*<(KEYWORDS)\\s*"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
settingsExample = {
|
||||
ft_blocklist = [ "markdown" ];
|
||||
patterns = [ "[[%s/\(\n\n\)\n\+/\1/]]" ];
|
||||
patterns = [ "[[%s/\\(\\n\\n\\)\\n\\+/\\1/]]" ];
|
||||
trim_on_write = false;
|
||||
highlight = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
|
||||
matchparen_nomode = defaultNullOpts.mkStr' {
|
||||
pluginDefault = "";
|
||||
example = "vV\<c-v>";
|
||||
example = "vV\\<c-v>";
|
||||
description = ''
|
||||
When not empty, match highlighting will be disabled in the specified modes, where each mode
|
||||
is a single character like in the `|mode()|` function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue