Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BASH_BUILTINS = [...]string{
":",
".",
"[",
"alias",
"bg",
"bind",
"break",
"builtin",
"caller",
"cd",
"command",
"compgen",
"complete",
"compopt",
"continue",
"declare",
"dirs",
"disown",
"echo",
"enable",
"eval",
"exec",
"exit",
"export",
"false",
"fc",
"fg",
"getopts",
"hash",
"help",
"history",
"jobs",
"kill",
"let",
"local",
"logout",
"mapfile",
"popd",
"printf",
"pushd",
"pwd",
"read",
"readarray",
"readonly",
"return",
"set",
"shift",
"shopt",
"source",
"suspend",
"test",
"times",
"trap",
"true",
"type",
"typeset",
"ulimit",
"umask",
"unalias",
"unset",
"wait",
}
View Source
var BASH_KEYWORDS = [...]string{
"if",
"then",
"elif",
"else",
"fi",
"for",
"in",
"do",
"done",
"case",
"esac",
"select",
"function",
"{",
"}",
"[[",
"]]",
"!",
"time",
"until",
"while",
"coproc",
}
View Source
var SHEBANG = "#!/usr/bin/env bash\n\n"
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ExcludeDirs []string
DiagnosticDebounceTime time.Duration
ShellCheckOptions shellcheck.Options
FormatOptions FormatOptions
}
type FormatOptions ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleMessage ¶
type State ¶
type State struct {
Documents map[string]Document
EnvVars map[string]string
WorkspaceFolders []lsp.WorkspaceFolder
PathItems []string
Config Config
ShutdownRequested bool
}
func (*State) SetDocument ¶
func (*State) WorkspaceShFiles ¶
Find sh-files and return their filepaths
Click to show internal directories.
Click to hide internal directories.