nvim-lsp

Quickstart configs for Nvim LSP [Moved to: https://github.com/neovim/nvim-lspconfig] (by neovim)

Nvim-lsp Alternatives

Similar projects and alternatives to nvim-lsp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nvim-lsp alternative or higher similarity.

nvim-lsp reviews and mentions

Posts with mentions or reviews of nvim-lsp. We have used some of these posts to build our list of alternatives and similar projects.
  • Setting up a local config for clangd not working for project not working.
    1 project | /r/neovim | 5 Feb 2023
    return { local cwd = vim.fn.getcwd(-1, -1) if cwd == "/home/jared/Projects/CPP/NakOS" then local configs = require("nvim_lsp/configs") local util = require("nvim_lsp/util") local root_pattern = util.root_pattern("compile_commands.json", "compile_flags.txt", ".git") configs.clangd = { default_config = util.utf8_config({ cmd = { "clangd", "--background-index", "--query-driver", "/home/jared/Projects/CPP/NakOS/Toolchain/opt/cross/bin/i686-elf-g++", }, filetypes = { "c", "cpp", "objc", "objcpp" }, root_dir = function(fname) local filename = util.path.is_absolute(fname) and fname or util.path.join(vim.loop.cwd(), fname) return root_pattern(filename) or util.path.dirname(filename) end, }), -- commands = {}; -- on_new_config = function(new_config) end; -- on_attach = function(client, bufnr) end; docs = { description = [[ https://clang.llvm.org/extra/clangd/Installation.html **NOTE:** Clang >= 9 is recommended! See [this issue for more](https://github.com/neovim/nvim-lsp/issues/23). clangd relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) specified as compile_commands.json or, for simpler projects, a compile_flags.txt. ]], default_config = { root_dir = [[root_pattern("compile_commands.json", "compile_flags.txt", ".git") or dirname]], on_init = [[function to handle changing offsetEncoding]], capabilities = [[default capabilities, with offsetEncoding utf-8]], }, }, } end }

Stats

Basic nvim-lsp repo stats
1
6,664
10.0
about 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com