aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp
diff options
context:
space:
mode:
authorPatrice Peterson <patrice.peterson@mailbox.org>2020-08-23 13:28:56 +0200
committerPatrice Peterson <patrice.peterson@mailbox.org>2020-08-23 13:48:27 +0200
commitb5782c3b8185553f29e1fc66ae2be7681296ece3 (patch)
tree0080a1c60f463207669a577c314e083012f32033 /runtime/lua/vim/lsp
parentac05343a1023874243ee9fdd490c21c42a737157 (diff)
downloadrneovim-b5782c3b8185553f29e1fc66ae2be7681296ece3.tar.gz
rneovim-b5782c3b8185553f29e1fc66ae2be7681296ece3.tar.bz2
rneovim-b5782c3b8185553f29e1fc66ae2be7681296ece3.zip
Add FIXMEs
Diffstat (limited to 'runtime/lua/vim/lsp')
-rw-r--r--runtime/lua/vim/lsp/callbacks.lua2
-rw-r--r--runtime/lua/vim/lsp/log.lua6
-rw-r--r--runtime/lua/vim/lsp/rpc.lua8
-rw-r--r--runtime/lua/vim/lsp/util.lua2
4 files changed, 15 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/callbacks.lua b/runtime/lua/vim/lsp/callbacks.lua
index 9920af0124..0ee03e6a2f 100644
--- a/runtime/lua/vim/lsp/callbacks.lua
+++ b/runtime/lua/vim/lsp/callbacks.lua
@@ -7,6 +7,8 @@ local buf = require 'vim.lsp.buf'
local M = {}
+-- FIXME: DOC: Expose in vimdocs
+
--@private
--- Writes to error buffer.
--@param ... (table of strings) Will be concatenated before being written
diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua
index f19367851f..587a65cd96 100644
--- a/runtime/lua/vim/lsp/log.lua
+++ b/runtime/lua/vim/lsp/log.lua
@@ -2,6 +2,9 @@
local log = {}
+-- FIXME: DOC
+-- Should be exposed in the vim docs.
+--
-- Log level dictionary with reverse lookup as well.
--
-- Can be used to lookup the number from the name or the name from the number.
@@ -38,6 +41,9 @@ do
for level, levelnr in pairs(log.levels) do
-- Also export the log level on the root object.
log[level] = levelnr
+ -- FIXME: DOC
+ -- Should be exposed in the vim docs.
+ --
-- Set the lowercase name as the main use function.
-- If called without arguments, it will check whether the log level is
-- greater than or equal to this one. When called with arguments, it will
diff --git a/runtime/lua/vim/lsp/rpc.lua b/runtime/lua/vim/lsp/rpc.lua
index 8ed09bf34a..680e1ba6ae 100644
--- a/runtime/lua/vim/lsp/rpc.lua
+++ b/runtime/lua/vim/lsp/rpc.lua
@@ -368,7 +368,9 @@ local function start(cmd, cmd_args, handlers, extra_spawn_params)
return true
end
- -- FIXME: Should be placed on the RPC client object returned by `start()`
+ -- FIXME: DOC: Should be placed on the RPC client object returned by
+ -- `start()`
+ --
--- Sends a notification to the LSP server.
--@param method (string) The invoked LSP method
--@param params (table): Parameters for the invoked LSP method
@@ -393,7 +395,9 @@ local function start(cmd, cmd_args, handlers, extra_spawn_params)
}
end
- -- FIXME: Should be placed on the RPC client object returned by `start()`
+ -- FIXME: DOC: Should be placed on the RPC client object returned by
+ -- `start()`
+ --
--- Sends a request to the LSP server and runs {callback} upon response.
---
--@param method (string) The invoked LSP method
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index 7e94de7ec3..3ec7311d65 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -7,7 +7,7 @@ local highlight = require 'vim.highlight'
local M = {}
--- FIXME: Expose in documentation
+-- FIXME: DOC: Expose in vimdocs
--- Diagnostics received from the server via `textDocument/publishDiagnostics`
-- by buffer.
--