-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Tsserver format conflicts with prettier, so I need to disable it. However previous way to disable it does not work. I can only modify the capabilities.lua file in this repo to make it work.
My configuration:
use({
"pmizio/typescript-tools.nvim",
requires = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" },
config = function()
require("typescript-tools").setup {
on_attach = function(client)
client.server_capabilities.documentFormattingProvider = false
client.server_capabilities.documentRangeFormattingProvider = false
end,
settings = {
tsserver_max_memory = 8092,
separate_diagnostic_server = false,
}
}
end,
})
pmizio
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working