This commit is contained in:
Jan Hamal Dvořák 2025-11-10 21:22:03 +01:00
parent 6cbc1c8704
commit 2a57c86a77

View file

@ -63,6 +63,7 @@ require("nvim-format-buffer").setup({
verbose = false,
format_rules = {
{ pattern = { "*.c", "*.h", "*.cpp", "*.hpp" }, command = "clang-format" },
{ pattern = { "*.rs" }, command = "rustfmt" },
{
pattern = { "*.js", "*.mjs", "*.ts", "*.mts", "*.cjs", "*.tsx", "*.vue", "*.css" },
command = function()
@ -104,6 +105,12 @@ vim.lsp.enable("vtsls")
vim.lsp.config("vtsls", {
settings = {
vtsls = {
experimental = {
completion = {
enableServerSideFuzzyMatch = true,
entriesLimit = 64,
},
},
tsserver = {
globalPlugins = {
{