48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[server]
|
|
# "pipe" or "socket"
|
|
mode = "socket"
|
|
port = 50051
|
|
address = "127.0.0.1"
|
|
|
|
[frontend]
|
|
# the commands that will be appended to the command line
|
|
append = []
|
|
|
|
# the commands that will be removed from the command line
|
|
remove = []
|
|
|
|
# the
|
|
compile-commands-directory = ""
|
|
|
|
# the path of builtin headers that clang uses
|
|
resource-directory = "${executable}/../lib/clang/${version}"
|
|
|
|
[diagnostic]
|
|
# the maximum number of diagnostics that will be displayed
|
|
max-diagnostic = 100
|
|
|
|
[completion.keyword]
|
|
# whether to insert snippets when completing keywords
|
|
# if enabled, keywords will be expanded with placeholders for typical usage
|
|
# e.g., "if" will expand to "if (condition) { }"
|
|
snippet = false
|
|
|
|
[completion.function]
|
|
# whether to insert function arguments as placeholders when completing a function
|
|
# if enabled, arguments will be inserted as placeholders, e.g., fo^ -> foo(int a, int b)
|
|
arguments = false
|
|
|
|
# whether to insert parentheses when completing a function
|
|
# only applicable when `arguments` is set to false
|
|
# if disabled, only the function name will be inserted, e.g., fo^ -> foo
|
|
parens = false
|
|
|
|
[inlay-hint]
|
|
# the maximum length of the inlay hint text.
|
|
max-length = 20
|
|
|
|
# If array initializer elements are more than this, no inlay hints will be shown.
|
|
max-array-elements = 3
|
|
|
|
# Show implicit cast as hint like `1 as int`
|
|
implicit-cast = true |