From ef08653c101b1d7d14870f71491be2fa4eedb72d Mon Sep 17 00:00:00 2001 From: Anton Kastritskiy Date: Tue, 14 May 2024 16:12:16 +0100 Subject: [PATCH] [vim] remove neodev, nightly has better lsp based docs without it --- nvim/init.lua | 1 - nvim/lazy-lock.json | 25 ++++++++++++------------- nvim/lua/antonk52/lsp.lua | 3 --- nvim/spell/ru.utf-8.add | 1 + 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index aa34d04..87ad7b1 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -23,7 +23,6 @@ local plugins = { 'neovim/nvim-lspconfig', -- types & linting dependencies = { 'b0o/schemastore.nvim', -- json schemas for json lsp - 'folke/neodev.nvim', -- vim api signature help and docs }, config = function() vim.opt.updatetime = 300 diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 5a915bf..141d5b9 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -6,29 +6,28 @@ "cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "colorizer": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" }, - "conform.nvim": { "branch": "master", "commit": "393210360b9e807862e5329763526509f52b5218" }, + "conform.nvim": { "branch": "master", "commit": "59d0dd233a2cafacfa1235ab22054c4d80a72319" }, "copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" }, "dressing.nvim": { "branch": "master", "commit": "5162edb1442a729a885c45455a07e9a89058be2f" }, "git.nvim": { "branch": "main", "commit": "cc116ae91efd307836d24b868916f50a94c6daf9" }, - "github-nvim-theme": { "branch": "main", "commit": "66dcec1bd3d12f8b0bf3c885069888551a650049" }, + "github-nvim-theme": { "branch": "main", "commit": "d832925e77cef27b16011a8dfd8835f49bdcd055" }, "gitignore-grabber.nvim": { "branch": "main", "commit": "365c1a2255f1badf5aa8a963a07f869a81ab6575" }, "lake.nvim": { "branch": "main", "commit": "634a5c58d741e74c457da2dd5be37d2bad469c06" }, - "lazy.nvim": { "branch": "main", "commit": "d3974346b6cef2116c8e7b08423256a834cb7cbc" }, - "leap.nvim": { "branch": "main", "commit": "f1f19fc268b406b00b50091f51f16d9634fbe449" }, + "lazy.nvim": { "branch": "main", "commit": "e44636a43376e8a1e851958f7e9cbe996751d59f" }, + "leap.nvim": { "branch": "main", "commit": "be68eec21e37415d15cffaabc959b8d3f9466665" }, "markdowny.nvim": { "branch": "main", "commit": "9881051876f26998635d436f21de1b2b37c52e6d" }, - "mini.nvim": { "branch": "main", "commit": "061379f082d6b03305b00ddd6f8f6b7b8eded6d8" }, - "neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" }, + "mini.nvim": { "branch": "main", "commit": "c333187fcc76d7e772dac32c2a440a949fe34be4" }, "npm_scripts.nvim": { "branch": "main", "commit": "14332129b7e916b5b22214e26c7415b9a86ac73c" }, - "nvim-cmp": { "branch": "main", "commit": "8f3c541407e691af6163e2447f3af1bd6e17f9a3" }, - "nvim-lspconfig": { "branch": "master", "commit": "97762065bf7e1ac617d0a8710eb7ec2d656287a9" }, + "nvim-cmp": { "branch": "main", "commit": "24122371810089d390847d8ba66325c1f1aa64c0" }, + "nvim-lspconfig": { "branch": "master", "commit": "a27179f56c6f98a4cdcc79ee2971b514815a4940" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-spectre": { "branch": "master", "commit": "4651801ba37a9407b7257287aec45b6653ffc5e9" }, - "nvim-treesitter": { "branch": "master", "commit": "268611e3ece8463bfb5b09044dcd1b76a28ffbb6" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "a6382f744f584bbf71d0a563af789af7190aabda" }, + "nvim-treesitter": { "branch": "master", "commit": "f224fef9d28e1fd30ccd9a9c374ced2546dde6ea" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "dfa4178c0cadb44f687603d72ad0908474c28dd9" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "0bdccb9c67a42a5e2d99384dc9bfa29b1451528f" }, "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }, - "schemastore.nvim": { "branch": "main", "commit": "27f2b6af2f3ad6b1c7e756611daf350626a0219a" }, - "telescope.nvim": { "branch": "master", "commit": "fac83a556e7b710dc31433dec727361ca062dbe9" }, + "schemastore.nvim": { "branch": "main", "commit": "8706b99e1253f54f640fbc4f4ae13cdf034c135a" }, + "telescope.nvim": { "branch": "master", "commit": "6f6bb8065567b56c42e283b06e8a1c670c0092a1" }, "trouble.nvim": { "branch": "main", "commit": "b9cf677f20bb2faa2dacfa870b084e568dca9572" }, "twoslash-queries.nvim": { "branch": "main", "commit": "e000134c7ca3ea44f1095df3ceea89e485b7bdd5" }, "vim-dirvish": { "branch": "master", "commit": "3851bedb7f191b9a4a5531000b6fc0a8795cc9bb" } diff --git a/nvim/lua/antonk52/lsp.lua b/nvim/lua/antonk52/lsp.lua index 2bc27b3..b80669b 100644 --- a/nvim/lua/antonk52/lsp.lua +++ b/nvim/lua/antonk52/lsp.lua @@ -216,9 +216,6 @@ function M.setup_lua() return nil end - -- must be called before `lspconfig.sumneko_lua.setup` - require('neodev').setup({}) - local runtime_path = vim.split(package.path, ';') table.insert(runtime_path, 'lua/?.lua') table.insert(runtime_path, 'lua/?/init.lua') diff --git a/nvim/spell/ru.utf-8.add b/nvim/spell/ru.utf-8.add index 8b93905..9df7ecb 100644 --- a/nvim/spell/ru.utf-8.add +++ b/nvim/spell/ru.utf-8.add @@ -202,3 +202,4 @@ npm autoloaded эл Kastritskiy +TypeScript