upgrade lsp-setup

This commit is contained in:
d0zingcat
2022-08-24 11:55:57 +08:00
parent ee54f09161
commit b479bab031
7 changed files with 111 additions and 128 deletions

View File

@@ -48,4 +48,14 @@ return {
--{ key = 's', mods = 'CMD', action = wezterm.action({ ShowLauncherArgs = { flags = 'FUZZY|WORKSPACES' } }) },
{ key = 'w', mods = 'CMD', action = wezterm.action({ CloseCurrentPane = { confirm = false } }) },
},
hyperlink_rules = {
{
regex = [[\b(https|http)://\S*\b]],
format = '$0',
},
{
regex = [[["]?([\w\d]{1}[-\w\d]+)(/){1}([-\w\d\.]+)["]?]],
format = 'https://www.github.com/$1/$3',
}
}
}