Skip to content

Conversation

@KC-OU
Copy link

@KC-OU KC-OU commented Nov 7, 2025

Fix LSP configuration version detection typo

Summary

  • Fixed typo in Neovim version check that was causing LSP configuration to use deprecated API
  • Changed nvim1.11 to nvim-0.11 in version detection

Problem

The configuration was checking for 'nvim1.11' instead of 'nvim-0.11', causing the version
detection to always fail. This resulted in the code always falling back to the deprecated
require('lspconfig') API, even on Neovim 0.11+, which triggered deprecation warnings.

Solution

Corrected the version string in init.lua:586 to properly detect Neovim 0.11+ and use the modern
vim.lsp.config API.

Changes

  • init.lua:586 - Fixed version check from 'nvim1.11' to 'nvim-0.11'

Testing

  • Verified deprecation warning no longer appears on Neovim 0.11+
  • LSP servers load correctly using the modern API

KC-OU added 2 commits November 7, 2025 00:04
Updated various configuration settings and plugin versions in init.lua.

Fix LSP configuration version detection typo

  Summary

  - Fixed typo in Neovim version check that was causing LSP configuration to use deprecated API
  - Changed nvim1.11 to nvim-0.11 in version detection

  Problem

  The configuration was checking for 'nvim1.11' instead of 'nvim-0.11', causing the version
  detection to always fail. This resulted in the code always falling back to the deprecated
  require('lspconfig') API, even on Neovim 0.11+, which triggered deprecation warnings.

  Solution

  Corrected the version string in init.lua:586 to properly detect Neovim 0.11+ and use the modern
  vim.lsp.config API.

  Changes

  - init.lua:586 - Fixed version check from 'nvim1.11' to 'nvim-0.11'

  Testing

  - Verified deprecation warning no longer appears on Neovim 0.11+
  - LSP servers load correctly using the modern API
Modify Neovim configuration and plugin versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant