adding ty

This commit is contained in:
Florian Teich 2025-12-18 08:45:56 +01:00
parent 66d77c3009
commit 58f3f9795d
1 changed files with 2 additions and 11 deletions

View File

@ -686,17 +686,6 @@ require('lazy').setup({
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' }, filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' },
}, },
-- gopls = {}, -- gopls = {},
pyright = {
settings = {
python = {
analysis = {
autoSearchPaths = true,
diagnosticMode = 'workspace',
useLibraryCodeForTypes = true,
},
},
},
},
rust_analyzer = { rust_analyzer = {
settings = { settings = {
['rust-analyzer'] = { ['rust-analyzer'] = {
@ -1295,6 +1284,8 @@ require('lazy').setup({
}, },
}) })
vim.lsp.enable('ty')
vim.keymap.set('n', '<leader>uc', function() vim.keymap.set('n', '<leader>uc', function()
local start = vim.fn.line '.' local start = vim.fn.line '.'
local finish = start local finish = start