Can’t get buf_set_kaymap to install LSP maps unto the buffer

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • lua-language-server

    A language server that offers Lua language support - programmed in Lua

  • -- lua-language-server -- https://github.com/sumneko/lua-language-server/wiki/Build-and-Run-(Standalone) USER = vim.fn.expand('$USER') local sumneko_root_path = "" local sumneko_binary = "" if vim.fn.has("mac") == 1 then sumneko_root_path = "/Users/" .. USER .. "/.local/lua-language-server" sumneko_binary = "/Users/" .. USER .. "/.local/lua-language-server/bin/macOS/lua-language-server" elseif vim.fn.has("unix") == 1 then sumneko_root_path = "/home/" .. USER .. "/.local/lua-language-server" sumneko_binary = "/home/" .. USER .. "/.local/lua-language-server/bin/Linux/lua-language-server" else print("Unsupported system for sumneko") end require'lspconfig'.sumneko_lua.setup { cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"}, settings = { Lua = { runtime = { -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) version = 'LuaJIT', -- Setup your lua path path = vim.split(package.path, ';') }, diagnostics = { -- Get the language server to recognize the `vim` global globals = { 'vim' } }, workspace = { -- Make the server aware of Neovim runtime files library = { [vim.fn.expand('$VIMRUNTIME/lua')] = true, [vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true, [vim.fn.expand('~/.config.nvim/lua')] = true, } } } } }

  • config_manager

    My configuration files and tools

  • Looking at TJ's config he doesn't do that.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts