From db1f4f5d0e5cbe20e15a47088c918a3f0d4fd489 Mon Sep 17 00:00:00 2001 From: Colin Graydon Date: Mon, 21 Apr 2025 11:36:34 -0400 Subject: [PATCH] feat: setup lsp typescript --- lazy-lock.json | 2 -- lua/plugins/lspconfig.lua | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 126eb7f..9c174b7 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,5 +1,4 @@ { - "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, "CopilotChat.nvim": { "branch": "main", "commit": "634aa58117a9b70b3f08a0b150f11afd64f1c0eb" }, "LazyVim": { "branch": "main", "commit": "3f034d0a7f58031123300309f2efd3bb0356ee21" }, "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, @@ -33,7 +32,6 @@ "nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "205e3369bc83d8cb83f7409c36120e24611f8c5c" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, "persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "rustaceanvim": { "branch": "master", "commit": "69636cedf0d6aabf0eac3dfbce24883fe1051a3d" }, diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 67f9549..71d1fd5 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -23,12 +23,12 @@ return { "typescript.tsx", }, settings = { - preferences = { - importModuleSpecifierPreference = "relative", - }, -- format on save complete_function_calls = true, vtsls = { + preferences = { + importModuleSpecifierPreference = "relative", + }, enableMoveToFileCodeAction = true, autoUseWorkspaceTsdk = true, experimental = {