diff options
| author | Chris <[email protected]> | 2021-07-25 03:10:08 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-07-25 03:10:08 -0400 | 
| commit | e984fa3c9319ac88d8405600bca7c1b3ee9f1b34 (patch) | |
| tree | 8d99c8c719d4c902493a4313125f690b274c6a63 | |
| parent | 9425eeced79b6625d306925881efe623b32cebc5 (diff) | |
some todos
| -rw-r--r-- | lua/lsp/null-ls.lua | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lua/lsp/null-ls.lua b/lua/lsp/null-ls.lua index b425d112..a1a0e2ce 100644 --- a/lua/lsp/null-ls.lua +++ b/lua/lsp/null-ls.lua @@ -50,6 +50,7 @@ local function setup_ls(exe, type)    null_ls.register { sources = sources }  end +-- TODO: for linters and formatters with spaces and '-' replace with '_'  local function setup(filetype, type)    local executables = nil    if type == "diagnostics" then @@ -69,6 +70,7 @@ local function setup(filetype, type)    end  end +-- TODO: return the formatter if one was registered, then turn off the builtin formatter  function M.setup(filetype)    setup(filetype, "formatting")    setup(filetype, "diagnostics") | 
