diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-12-01 15:41:11 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-12-08 18:38:48 +0100 |
| commit | 687fcb939b7de052a3ba6c300348fcd5eb128e83 (patch) | |
| tree | 2b25a2658f59f87fb7e6cfc6a999ab868fce8d72 /plugin | |
| parent | refactor: deprecate util.find_node_modules_ancestor (diff) | |
| download | nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.gz nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.bz2 nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.lz nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.xz nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.tar.zst nvim-lspconfig-687fcb939b7de052a3ba6c300348fcd5eb128e83.zip | |
refactor: remove outdated code
Lspconfig requires neovim version 0.9 at the time of writing this, so
discard any version checks and code for older versions.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index bee81092..a852d967 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -6,17 +6,6 @@ vim.g.lspconfig = 1 local api, lsp = vim.api, vim.lsp local util = require('lspconfig.util') -if vim.fn.has 'nvim-0.8' ~= 1 then - local version_info = vim.version() - local warning_str = string.format( - '[lspconfig] requires neovim 0.8 or later. Detected neovim version: 0.%s.%s', - version_info.minor, - version_info.patch - ) - vim.notify_once(warning_str) - return -end - local completion_sort = function(items) table.sort(items) return items |
