Skip to content

Instantly share code, notes, and snippets.

@AmirHooshangi
Created December 21, 2019 16:43
Show Gist options
  • Save AmirHooshangi/9662ac3933f5f0ed9a7c45ad733e573f to your computer and use it in GitHub Desktop.
Save AmirHooshangi/9662ac3933f5f0ed9a7c45ad733e573f to your computer and use it in GitHub Desktop.
fg42 python error
lsp-managed-mode(1)
lsp--text-document-did-open()
lsp--open-in-workspace(#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 15/65 0x129b869> :registered-server-capabilities nil :root "/home/velorin/python-test" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x19bcfd1>) :test\? #f(compiled-function () #<bytecode 0x19bcfe9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/65 0x19bd37d> :request-handlers #<hash-table equal 0/65 0x19bdbb9> :response-handlers #<hash-table eql 1/65 0x19bdbd9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x19bf3b9> :action-handlers #<hash-table equal 0/65 0x19bf3d9> :major-modes (python-mode) :activation-fn nil :priority 1 :server-id mspyls :multi-root nil :initialization-options lsp-python-ms--extra-init-params :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x19bcf91>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil) :host-root nil :proc #<process mspyls> :cmd-proc #<process mspyls> :buffers (#<buffer test.py>) :semantic-highlighting-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x1b16d21> :watches #<hash-table equal 0/65 0x1b16e49> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 0/65 0x1b183c1>))
#f(compiled-function (response) #<bytecode 0x1b189d5>)(#<hash-table equal 1/65 0x119b95d>)
#f(compiled-function () #<bytecode 0x1b18a05>)()
#f(compiled-function (result) #<bytecode 0x1b18a25>)(#<hash-table equal 1/65 0x119b95d>)
lsp--parser-on-message(#<hash-table equal 3/65 0x119b8b9> #s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 15/65 0x129b869> :registered-server-capabilities nil :root "/home/velorin/python-test" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode 0x19bcfd1>) :test\? #f(compiled-function () #<bytecode 0x19bcfe9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/65 0x19bd37d> :request-handlers #<hash-table equal 0/65 0x19bdbb9> :response-handlers #<hash-table eql 1/65 0x19bdbd9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x19bf3b9> :action-handlers #<hash-table equal 0/65 0x19bf3d9> :major-modes (python-mode) :activation-fn nil :priority 1 :server-id mspyls :multi-root nil :initialization-options lsp-python-ms--extra-init-params :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x19bcf91>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil) :host-root nil :proc #<process mspyls> :cmd-proc #<process mspyls> :buffers (#<buffer test.py>) :semantic-highlighting-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x1b16d21> :watches #<hash-table equal 0/65 0x1b16e49> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 0/65 0x1b183c1>))
#f(compiled-function (proc input) #<bytecode 0x1b183e1>)(#<process mspyls> "Content-Length: 733\015\n\015\n{\"jsonrpc\":\"2.0\",\"result\":{\"capabilities\":{\"textDocumentSync\":{\"openClose\":true,\"change\":2,\"willSave\":false,\"willSaveWaitUntil\":false},\"hoverProvider\":true,\"completionProvider\":{\"resolveProvider\":false,\"triggerCharacters\":[\".\"]},\"signatureHelpProvider\":{\"triggerCharacters\":[\"(\",\",\",\")\"]},\"definitionProvider\":true,\"referencesProvider\":true,\"documentHighlightProvider\":false,\"documentSymbolProvider\":true,\"workspaceSymbolProvider\":true,\"codeActionProvider\":{\"codeActionKinds\":[\"quickfix\",\"refactor\"]},\"documentFormattingProvider\":false,\"documentRangeFormattingProvider\":false,\"documentOnTypeFormattingProvider\":{\"firstTriggerCharacter\":\"\\n\",\"moreTriggerCharacter\":[\";\",\":\"]},\"renameProvider\":true,\"declarationProvider\":true}},\"id\":1}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment