snippet_support = true verbosity = 2 [semantic_scopes] # Map textmate scopes to kakoune faces for semantic highlighting # the underscores are translated to dots, and indicate nesting. # That is, if variable_other_field is omitted, it will try the face for # variable_other and then variable # # To see a list of available scopes in the debug buffer, run lsp-semantic-available-scopes variable = "variable" entity_name_function = "function" entity_name_type = "type" variable_other_enummember = "variable" entity_name_namespace = "module" # Semantic tokens support # See https://github.com/microsoft/vscode-languageserver-node/blob/8c8981eb4fb6adec27bf1bb5390a0f8f7df2899e/client/src/semanticTokens.proposed.ts#L288 # for token/modifier types. [semantic_tokens] type = "type" variable = "variable" namespace = "module" function = "function" string = "string" keyword = "keyword" operator = "operator" comment = "comment" [semantic_token_modifiers] documentation = "documentation" readonly = "default+d" [server] # exit session if no requests were received during given period in seconds # works only in unix sockets mode (-s/--session) # set to 0 to disable timeout = 1800 # seconds = 30 minutes [language.bash] filetypes = ["sh"] roots = [".git", ".hg"] command = "bash-language-server" args = ["start"] #[language.deno] #filetypes = ["typescript", "javascript"] #roots = [".git"] #command = "deno" #args = ["lsp"] [language.typescript] filetypes = ["typescript"] roots = ["tsconfig.json"] command = "typescript-language-server" args = ["--stdio"]