nvim-config

Log | Files | Refs | Submodules | README

commit 1ede5c325e15b9b212d495bb9079245d0f597722
parent 927724b8e8bd19f264cefe3b3b57f0f4a5d104fc
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date:   Fri, 23 Sep 2022 08:52:29 +0200

lsp: use builtin lps tagfunc and formatexpr

Diffstat:
Mlua/lsp_config.lua | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/lua/lsp_config.lua b/lua/lsp_config.lua @@ -30,8 +30,6 @@ local function on_attach(client, bufnr) -- Mappings. -- See `:help vim.lsp.*` for documentation on any of the below functions - set_keymap('gD', vim.lsp.buf.implementation) - set_keymap('<Leader>d', vim.lsp.buf.definition) if client.server_capabilities.hoverProvider then set_keymap('K', vim.lsp.buf.hover) end @@ -40,7 +38,6 @@ local function on_attach(client, bufnr) set_keymap('[d', vim.diagnostic.goto_prev) set_keymap(']d', vim.diagnostic.goto_next) set_keymap('<Leader>q', vim.diagnostic.setqflist) - set_keymap('<Leader>=', vim.lsp.buf.format, { async = true }) set_keymap('gR', require "azy.builtins".lsp.references()) set_keymap('<Leader>s', require "azy.builtins".lsp.workspace_symbols())