adding ty
This commit is contained in:
parent
66d77c3009
commit
58f3f9795d
13
init.lua
13
init.lua
|
|
@ -686,17 +686,6 @@ require('lazy').setup({
|
|||
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' },
|
||||
},
|
||||
-- gopls = {},
|
||||
pyright = {
|
||||
settings = {
|
||||
python = {
|
||||
analysis = {
|
||||
autoSearchPaths = true,
|
||||
diagnosticMode = 'workspace',
|
||||
useLibraryCodeForTypes = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
rust_analyzer = {
|
||||
settings = {
|
||||
['rust-analyzer'] = {
|
||||
|
|
@ -1295,6 +1284,8 @@ require('lazy').setup({
|
|||
},
|
||||
})
|
||||
|
||||
vim.lsp.enable('ty')
|
||||
|
||||
vim.keymap.set('n', '<leader>uc', function()
|
||||
local start = vim.fn.line '.'
|
||||
local finish = start
|
||||
|
|
|
|||
Loading…
Reference in New Issue