This commit is contained in:
Adam Beck 2026-01-20 21:57:52 -05:00
parent c89e8e7e42
commit a7fe2a3fe6
3 changed files with 8 additions and 8 deletions

View File

@ -219,6 +219,8 @@ vim.api.nvim_create_autocmd('TextYankPost', {
end, end,
}) })
vim.lsp.enable 'tsgo'
-- [[ Install `lazy.nvim` plugin manager ]] -- [[ Install `lazy.nvim` plugin manager ]]
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info -- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim' local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'

5
lsp/tsgo.lua Normal file
View File

@ -0,0 +1,5 @@
return {
cmd = { 'tsgo', '--lsp', '--stdio' },
filteypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact' },
root_markers = { 'tsconfig.json', 'package.json', '.git' },
}

View File

@ -84,14 +84,7 @@ return {
dependencies = { 'echasnovski/mini.icons' }, dependencies = { 'echasnovski/mini.icons' },
opts = {}, opts = {},
config = function() config = function()
require('fzf-lua').setup { require('fzf-lua').setup {}
grep = {
formatter = 'path.filename_first',
},
files = {
formatter = 'path.filename_first', -- places file name first
},
}
local builtin = require 'fzf-lua' local builtin = require 'fzf-lua'