Skip to content

Instantly share code, notes, and snippets.

@BerkeleyTrue
Last active March 10, 2022 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BerkeleyTrue/1970607b0154a4eb9483ad42dd85a440 to your computer and use it in GitHub Desktop.
Save BerkeleyTrue/1970607b0154a4eb9483ad42dd85a440 to your computer and use it in GitHub Desktop.
Lsp log for html emmet style
[START][2022-03-09 18:04:36] LSP logging initiated
[INFO][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:261 "Starting RPC client" {
args = { "--stdio" },
cmd = "tailwindcss-language-server",
extra = {
cwd = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com"
}
}
[TRACE][2022-03-09 18:04:36] .../lua/vim/lsp.lua:892 "LSP[tailwindcss]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = true,
deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" },
insertReplaceSupport = true,
labelDetailsSupport = true,
preselectSupport = true,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" }
},
snippetSupport = true,
tagSupport = {
valueSet = { 1 }
}
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.6.1"
},
initializationOptions = {
userLanguages = {
eelixir = "html-eex",
eruby = "erb"
}
},
processId = 1401038,
rootPath = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
rootUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
trace = "off",
workspaceFolders = { {
name = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com"
} }
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = true,
deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" },
insertReplaceSupport = true,
labelDetailsSupport = true,
preselectSupport = true,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" }
},
snippetSupport = true,
tagSupport = {
valueSet = { 1 }
}
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.6.1"
},
initializationOptions = {
userLanguages = {
eelixir = "html-eex",
eruby = "erb"
}
},
processId = 1401038,
rootPath = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
rootUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
trace = "off",
workspaceFolders = { {
name = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com"
} }
}
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 0,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "editor"
} }
}
}
[TRACE][2022-03-09 18:04:36] .../lua/vim/lsp.lua:745 "server_request" "workspace/configuration" {
items = { {
section = "editor"
} }
}
[TRACE][2022-03-09 18:04:36] .../lua/vim/lsp.lua:748 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-03-09 18:04:36] ...lsp/handlers.lua:437 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "editor"
} }
}
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { {
tabSize = 8
} },
status = true
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 0,
jsonrpc = "2.0",
result = { {
tabSize = 8
} }
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "tailwindCSS"
} }
}
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
result = {
capabilities = {
codeActionProvider = true,
colorProvider = true,
completionProvider = {
resolveProvider = true,
triggerCharacters = { '"', "'", "`", " ", ".", "[", "!", "/", ":" }
},
hoverProvider = true,
textDocumentSync = 1
}
}
}
[TRACE][2022-03-09 18:04:36] .../lua/vim/lsp.lua:745 "server_request" "workspace/configuration" {
items = { {
section = "tailwindCSS"
} }
}
[TRACE][2022-03-09 18:04:36] .../lua/vim/lsp.lua:748 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-03-09 18:04:36] ...lsp/handlers.lua:437 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "tailwindCSS"
} }
}
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { {
classAttributes = { "class", "className", "classList", "ngClass" },
emmetCompletions = true,
includeLanguages = {
pug = "jade"
},
lint = {
cssConflict = "warning",
invalidApply = "error",
invalidConfigPath = "error",
invalidScreen = "error",
invalidTailwindDirective = "error",
invalidVariant = "error",
recommendedVariantOrder = "warning"
},
validate = true
} },
status = true
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = { {
classAttributes = { "class", "className", "classList", "ngClass" },
emmetCompletions = true,
includeLanguages = {
pug = "jade"
},
lint = {
cssConflict = "warning",
invalidApply = "error",
invalidConfigPath = "error",
invalidScreen = "error",
invalidTailwindDirective = "error",
invalidVariant = "error",
recommendedVariantOrder = "warning"
},
validate = true
} }
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
editor = {
tabSize = 8
},
tailwindCSS = {
classAttributes = { "class", "className", "classList", "ngClass" },
emmetCompletions = true,
includeLanguages = {
pug = "jade"
},
lint = {
cssConflict = "warning",
invalidApply = "error",
invalidConfigPath = "error",
invalidScreen = "error",
invalidTailwindDirective = "error",
invalidVariant = "error",
recommendedVariantOrder = "warning"
},
validate = true
}
}
}
}
[DEBUG][2022-03-09 18:04:36] .../lua/vim/lsp.lua:921 "LSP[tailwindcss]" "server_capabilities" {
codeActionProvider = true,
colorProvider = true,
completionProvider = {
resolveProvider = true,
triggerCharacters = { '"', "'", "`", " ", ".", "[", "!", "/", ":" }
},
hoverProvider = true,
textDocumentSync = 1
}
[INFO][2022-03-09 18:04:36] .../lua/vim/lsp.lua:922 "LSP[tailwindcss]" "initialized" {
resolved_capabilities = {
call_hierarchy = false,
code_action = true,
code_lens = false,
code_lens_resolve = false,
completion = true,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = false,
execute_command = false,
find_references = false,
goto_definition = false,
hover = true,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 1,
text_document_open_close = true,
text_document_save = true,
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = false,
supported = false
},
workspace_symbol = false
}
}
[DEBUG][2022-03-09 18:04:36] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "pug",
text = "\n",
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 0
}
}
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "window/logMessage",
params = {
message = "Found Tailwind CSS config file: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/tailwind.config.js",
type = 4
}
}
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:731 "notification" "window/logMessage" {
message = "Found Tailwind CSS config file: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/tailwind.config.js",
type = 4
}
[TRACE][2022-03-09 18:04:37] ...lsp/handlers.lua:437 "default_handler" "window/logMessage" {
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}',
result = {
message = "Found Tailwind CSS config file: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/tailwind.config.js",
type = 4
}
}
[INFO][2022-03-09 18:04:37] ...lsp/handlers.lua:408 "Found Tailwind CSS config file: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/tailwind.config.js"
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "window/logMessage",
params = {
message = "Loaded postcss v8.3.6: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/postcss",
type = 4
}
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "window/logMessage",
params = {
message = "Loaded tailwindcss v2.2.9: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/tailwindcss",
type = 4
}
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
scopeUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
section = "editor"
} }
}
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
scopeUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
section = "tailwindCSS"
} }
}
}
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:731 "notification" "window/logMessage" {
message = "Loaded postcss v8.3.6: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/postcss",
type = 4
}
[TRACE][2022-03-09 18:04:37] ...lsp/handlers.lua:437 "default_handler" "window/logMessage" {
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}',
result = {
message = "Loaded postcss v8.3.6: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/postcss",
type = 4
}
}
[INFO][2022-03-09 18:04:37] ...lsp/handlers.lua:408 "Loaded postcss v8.3.6: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/postcss"
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:731 "notification" "window/logMessage" {
message = "Loaded tailwindcss v2.2.9: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/tailwindcss",
type = 4
}
[TRACE][2022-03-09 18:04:37] ...lsp/handlers.lua:437 "default_handler" "window/logMessage" {
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}',
result = {
message = "Loaded tailwindcss v2.2.9: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/tailwindcss",
type = 4
}
}
[INFO][2022-03-09 18:04:37] ...lsp/handlers.lua:408 "Loaded tailwindcss v2.2.9: /home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/node_modules/tailwindcss"
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:745 "server_request" "workspace/configuration" {
items = { {
scopeUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
section = "editor"
} }
}
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:748 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-03-09 18:04:37] ...lsp/handlers.lua:437 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
scopeUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
section = "editor"
} }
}
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { {
tabSize = 8
} },
status = true
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
result = { {
tabSize = 8
} }
}
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:745 "server_request" "workspace/configuration" {
items = { {
scopeUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
section = "tailwindCSS"
} }
}
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:748 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-03-09 18:04:37] ...lsp/handlers.lua:437 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
scopeUri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
section = "tailwindCSS"
} }
}
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { {
classAttributes = { "class", "className", "classList", "ngClass" },
emmetCompletions = true,
includeLanguages = {
pug = "jade"
},
lint = {
cssConflict = "warning",
invalidApply = "error",
invalidConfigPath = "error",
invalidScreen = "error",
invalidTailwindDirective = "error",
invalidVariant = "error",
recommendedVariantOrder = "warning"
},
validate = true
} },
status = true
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 3,
jsonrpc = "2.0",
result = { {
classAttributes = { "class", "className", "classList", "ngClass" },
emmetCompletions = true,
includeLanguages = {
pug = "jade"
},
lint = {
cssConflict = "warning",
invalidApply = "error",
invalidConfigPath = "error",
invalidScreen = "error",
invalidTailwindDirective = "error",
invalidVariant = "error",
recommendedVariantOrder = "warning"
},
validate = true
} }
}
[DEBUG][2022-03-09 18:04:37] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
[TRACE][2022-03-09 18:04:37] .../lua/vim/lsp.lua:731 "notification" "textDocument/publishDiagnostics" {
diagnostics = {},
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
[TRACE][2022-03-09 18:04:37] ...lsp/handlers.lua:437 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = {},
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "d\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 4
}
}
}
[DEBUG][2022-03-09 18:04:39] .../lua/vim/lsp.lua:962 "LSP[tailwindcss]" "client.request" 1 "textDocument/completion" {
context = {
triggerKind = 1
},
position = {
character = 1,
line = 0
},
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
} <function 1> 1
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "textDocument/completion",
params = {
context = {
triggerKind = 1
},
position = {
character = 1,
line = 0
},
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
}
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0"
}
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "di\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 5
}
}
}
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "div\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 6
}
}
}
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "div.\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 7
}
}
}
[DEBUG][2022-03-09 18:04:39] .../lua/vim/lsp.lua:962 "LSP[tailwindcss]" "client.request" 1 "textDocument/completion" {
context = {
triggerCharacter = ".",
triggerKind = 2
},
position = {
character = 4,
line = 0
},
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
} <function 1> 1
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 3,
jsonrpc = "2.0",
method = "textDocument/completion",
params = {
context = {
triggerCharacter = ".",
triggerKind = 2
},
position = {
character = 4,
line = 0
},
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
}
[DEBUG][2022-03-09 18:04:39] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 3,
jsonrpc = "2.0"
}
[DEBUG][2022-03-09 18:04:40] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "div.f\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 8
}
}
}
[DEBUG][2022-03-09 18:04:40] .../lua/vim/lsp.lua:962 "LSP[tailwindcss]" "client.request" 1 "textDocument/completion" {
context = {
triggerKind = 1
},
position = {
character = 5,
line = 0
},
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
} <function 1> 1
[DEBUG][2022-03-09 18:04:40] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 4,
jsonrpc = "2.0",
method = "textDocument/completion",
params = {
context = {
triggerKind = 1
},
position = {
character = 5,
line = 0
},
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
}
[DEBUG][2022-03-09 18:04:40] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 4,
jsonrpc = "2.0"
}
[DEBUG][2022-03-09 18:04:40] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "div.fl\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 9
}
}
}
[DEBUG][2022-03-09 18:04:40] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
text = "div.fle\n"
} },
textDocument = {
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug",
version = 10
}
}
}
[DEBUG][2022-03-09 18:04:40] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
[TRACE][2022-03-09 18:04:40] .../lua/vim/lsp.lua:731 "notification" "textDocument/publishDiagnostics" {
diagnostics = {},
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
[TRACE][2022-03-09 18:04:40] ...lsp/handlers.lua:437 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = {},
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com/foo.pug"
}
}
[INFO][2022-03-09 18:04:49] .../lua/vim/lsp.lua:1329 "exit_handler" { {
_on_attach = <function 1>,
attached_buffers = { true },
cancel_request = <function 2>,
commands = {},
config = {
_on_attach = <function 3>,
autostart = true,
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = true,
deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" },
insertReplaceSupport = true,
labelDetailsSupport = true,
preselectSupport = true,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" }
},
snippetSupport = true,
tagSupport = {
valueSet = { 1 }
}
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
cmd = { "tailwindcss-language-server", "--stdio" },
cmd_cwd = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
filetypes = { "pug", "html" },
flags = {},
get_language_id = <function 4>,
handlers = <1>{},
init_options = {
userLanguages = {
eelixir = "html-eex",
eruby = "erb"
}
},
log_level = 2,
message_level = 2,
name = "tailwindcss",
on_attach = <function 5>,
on_exit = <function 6>,
on_init = <function 7>,
on_new_config = <function 8>,
root_dir = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
settings = {
editor = {
tabSize = 8
},
tailwindCSS = {
classAttributes = { "class", "className", "classList", "ngClass" },
emmetCompletions = true,
includeLanguages = {
pug = "jade"
},
lint = {
cssConflict = "warning",
invalidApply = "error",
invalidConfigPath = "error",
invalidScreen = "error",
invalidTailwindDirective = "error",
invalidVariant = "error",
recommendedVariantOrder = "warning"
},
validate = true
}
},
workspace_folders = <2>{ {
name = "/home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com",
uri = "file:///home/berkeleytrue/dvlpmnt/node/apps/berkeleytrue.com"
} },
<metatable> = {
__tostring = <function 9>
}
},
handlers = <table 1>,
id = 1,
initialized = true,
is_stopped = <function 10>,
messages = {
messages = {},
name = "tailwindcss",
progress = {},
status = {}
},
name = "tailwindcss",
notify = <function 11>,
offset_encoding = "utf-16",
request = <function 12>,
request_sync = <function 13>,
requests = {},
resolved_capabilities = {
call_hierarchy = false,
code_action = true,
code_lens = false,
code_lens_resolve = false,
completion = true,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = false,
execute_command = false,
find_references = false,
goto_definition = false,
hover = true,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 1,
text_document_open_close = true,
text_document_save = true,
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = false,
supported = false
},
workspace_symbol = false
},
rpc = {
handle = <userdata 1>,
notify = <function 14>,
pid = 1401040,
request = <function 15>
},
server_capabilities = {
codeActionProvider = true,
colorProvider = true,
completionProvider = {
resolveProvider = true,
triggerCharacters = { '"', "'", "`", " ", ".", "[", "!", "/", ":" }
},
hoverProvider = true,
textDocumentSync = 1
},
stop = <function 16>,
supports_method = <function 17>,
workspaceFolders = <table 2>,
workspace_did_change_configuration = <function 18>,
workspace_folders = <table 2>
} }
[DEBUG][2022-03-09 18:04:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 5,
jsonrpc = "2.0",
method = "shutdown"
}
[DEBUG][2022-03-09 18:04:49] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 5,
jsonrpc = "2.0"
}
[DEBUG][2022-03-09 18:04:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "exit"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment