1025 Commits

Author SHA1 Message Date
Prabir Shrestha
d2d5631554 fixed s:supports_capability 2017-01-04 22:43:58 -08:00
Prabir Shrestha
ca07aec897 remove lsp#client#text_document_sync_kind_* from public api 2017-01-04 20:31:07 -08:00
Prabir Shrestha
b7c04d4e0d directly run javascript-typescript-stdio from global npm installation 2017-01-04 19:50:28 -08:00
Prabir Shrestha
c601cb9174 added :Hover 2017-01-02 16:36:06 -08:00
Prabir Shrestha
483c4e4bf4 added :FindWorkspaceSymbols 2017-01-02 12:22:25 -08:00
Prabir Shrestha
d3542b472a fix s:supports_capability(name) and added :FindDocumentSymbols 2016-12-31 14:13:47 -08:00
Prabir Shrestha
93249385f3 Merge pull request #9 from prabirshrestha/rename-client
rename lsp#lspClient to lsp#client
2016-12-31 12:49:56 -08:00
Prabir Shrestha
b911c99d58 rename lsp#lspClient to lsp#client 2016-12-31 12:46:55 -08:00
Prabir Shrestha
168aea5c5c provide better error message in case the language server exits 2016-12-31 12:45:53 -08:00
Prabir Shrestha
6f9fe396f4 Merge pull request #8 from prabirshrestha/example
added example.vim
2016-12-31 12:17:55 -08:00
Prabir Shrestha
51f4a74524 added example.vim 2016-12-31 12:15:27 -08:00
Prabir Shrestha
41b2124785 Merge pull request #7 from prabirshrestha/fix-per-request-on-notification
correctly call send on_notification callback
2016-12-30 19:02:29 -08:00
Prabir Shrestha
9259f38639 correctly call send on_notification callback 2016-12-30 19:00:43 -08:00
Prabir Shrestha
84863051b5 handle cases when job fails to start (fixes #4) 2016-12-25 11:12:23 -08:00
Prabir Shrestha
34e7d57692 depend on async.vim instead of including the source (fixes #1) 2016-12-24 13:30:05 -08:00
Prabir Shrestha
0c7db314e7 added abort in functions 2016-12-24 13:25:39 -08:00
Prabir Shrestha
b00348017c convert to unix lineendings 2016-12-23 22:18:06 -08:00
Prabir Shrestha
cbb25285f8 added .gitattributes 2016-12-23 22:17:13 -08:00
Prabir Shrestha
efc0fa3bb7 Merge pull request #2 from prabirshrestha/rewrite-response-parser
rewrite LSP response parser (s:_on_lsp_stdout)
2016-12-23 22:03:17 -08:00
Prabir Shrestha
0686a5a999 rewrite LSP response parser (s:_on_lsp_stdout)
* it now supports variable number of headers based on the spec
  where at least one is required
* listen to notifications instantiated by server
* added lsp#lspClient#is_server_instantiated_notification
* added s:trim which is used to trim header key and values
* changed internal representation of s:lsp_clients.on_notifications.stdout
2016-12-22 09:24:03 -08:00
Prabir Shrestha
99ec50abd5 added text_document_sync_kind enum 2016-11-06 18:20:10 -08:00
Prabir Shrestha
7cbd3864a2 add request/response to notification data 2016-11-06 17:25:01 -08:00
Prabir Shrestha
2afb056397 added lsp#lspClient#is_error 2016-11-06 13:02:57 -08:00
Prabir Shrestha
b37a84a015 renamed to on_notification to match with vscode-jsonrpc
add on_notification callback for all notifications
2016-11-06 12:36:45 -08:00
Prabir Shrestha
b49f25c2b3 initial commit 2016-11-06 01:06:39 -08:00