Vendored from upstream, pinned by commit (see debian/extra/README.source): - gitstatus, gitopen, fontconfig, open_ext, select_colorscheme, smoothcaret, nerdicons (font mapping patched to DATADIR, Ships the Symbols Nerd Font Mono TTF, SIL OFL 1.1) - lite-xl-lsp (complete LSP client; idle until a language server is configured) plus the lite-xl-widgets library it requires - 104 language syntax plugins (none duplicate the nine bundled in core) settings GUI left out upstream is broken: it requires a libraries.widget.fonts widget that does not exist in lite-xl-widgets at any revision. Co-developed-with: ZCode (Z.ai)
59 lines
2.1 KiB
Lua
59 lines
2.1 KiB
Lua
-- mod-version:3
|
|
local syntax = require "core.syntax"
|
|
|
|
syntax.add {
|
|
name = "SSH config",
|
|
files = { PATHSEP .. "sshd?" .. PATHSEP .. "?_?config$" },
|
|
comment = '#',
|
|
patterns = {
|
|
{ pattern = "#.*", type = "comment" },
|
|
{ pattern = "%d+", type = "number" },
|
|
{ pattern = "[%a_][%w_]*", type = "symbol" },
|
|
{ pattern = "@", type = "operator" },
|
|
},
|
|
symbols = {
|
|
-- ssh config
|
|
["Host"] = "function",
|
|
["ProxyCommand"] = "function",
|
|
|
|
["HostName"] = "keyword",
|
|
["IdentityFile"] = "keyword",
|
|
["IdentitiesOnly"] = "keyword",
|
|
["User"] = "keyword",
|
|
["Port"] = "keyword",
|
|
|
|
["ForwardAgent"] = "keyword",
|
|
["ForwardX11"] = "keyword",
|
|
["ForwardX11Trusted"] = "keyword",
|
|
["HostbasedAuthentication"] = "keyword",
|
|
["GSSAPIAuthentication"] = "keyword",
|
|
["GSSAPIDelegateCredentials"] = "keyword",
|
|
["GSSAPIKeyExchange"] = "keyword",
|
|
["GSSAPITrustDNS"] = "keyword",
|
|
["BatchMode"] = "keyword",
|
|
["CheckHostIP"] = "keyword",
|
|
["AddressFamily"] = "keyword",
|
|
["ConnectTimeout"] = "keyword",
|
|
["StrictHostKeyChecking"] = "keyword",
|
|
["Ciphers"] = "keyword",
|
|
["MACs"] = "keyword",
|
|
["EscapeChar"] = "keyword",
|
|
["Tunnel"] = "keyword",
|
|
["TunnelDevice"] = "keyword",
|
|
["PermitLocalCommand"] = "keyword",
|
|
["VisualHostKey"] = "keyword",
|
|
["RekeyLimit"] = "keyword",
|
|
["SendEnv"] = "keyword",
|
|
["HashKnownHosts"] = "keyword",
|
|
|
|
-- sshd config
|
|
["Subsystem"] = "keyword2",
|
|
|
|
|
|
["yes"] = "literal",
|
|
["no"] = "literal",
|
|
["any"] = "literal",
|
|
["ask"] = "literal",
|
|
},
|
|
}
|