Skip to content

Commit

Permalink
chore: Fixing typescript imports
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Nov 29, 2023
1 parent 7cdbfed commit 082572b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nvim/lua/user/autocomplete.lua
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@ require('lspconfig')['tsserver'].setup {
capabilities = capabilities,
on_attach = on_attach,
flags = lsp_flags,
init_options = {
preferences = {
importModuleSpecifierPreference = "non-relative"
}
},
handlers = {
["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
silent = false,
}),
-- ["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
-- -- Disable virtual_text
-- virtual_text = false,
-- virtual_lines = true,
-- }),
}
}

Expand Down

0 comments on commit 082572b

Please sign in to comment.