diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-15 12:39:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-15 12:39:48 -0800 |
| commit | 56bbbe79968a5edd7af4214d70724829f5bf83a2 (patch) | |
| tree | 50f78fc2f0ad9a9df9a0b13a5ac42ffb7290ffd3 /lua | |
| parent | Merge pull request #509 from mjlbach/remove_deprecated_handlers (diff) | |
| parent | Add handling for nil filetypes (diff) | |
| download | nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.tar nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.tar.gz nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.tar.bz2 nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.tar.lz nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.tar.xz nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.tar.zst nvim-lspconfig-56bbbe79968a5edd7af4214d70724829f5bf83a2.zip | |
Merge pull request #673 from mjlbach/filetypes_nil_handling
Add handling for nil filetypes
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig.lua b/lua/lspconfig.lua index 78916010..13902893 100644 --- a/lua/lspconfig.lua +++ b/lua/lspconfig.lua @@ -63,7 +63,7 @@ function M._root._setup() "Client: "..tostring(client.id), "\tname: "..client.name, "\troot: "..client.workspaceFolders[1].name, - "\tfiletypes: "..table.concat(client.config.filetypes, ', '), + "\tfiletypes: "..table.concat(client.config.filetypes or {}, ', '), "\tcmd: "..remove_newlines(client.config.cmd), } end |
