Browse Source

no more vim sensible

imac
Juni Kim 2 years ago
parent
commit
6d77a7dc2f
  1. 8
      after/plugin/lsp.lua
  2. 1
      lua/junikim/packer.lua

8
after/plugin/lsp.lua

@ -34,10 +34,10 @@ lsp.configure("efm", {
filetypes = { "sh", "bash", "zsh" }
})
lsp.on_attach(function(client, bufnr)
local opts = { buffer = bufnr, remap = false }
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
end)
--lsp.on_attach(function(client, bufnr)
-- local opts = { buffer = bufnr, remap = false }
-- vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
--end)
lsp.setup()

1
lua/junikim/packer.lua

@ -3,7 +3,6 @@ vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
use 'tpope/vim-sensible'
use {
'nvim-telescope/telescope.nvim', tag = '0.1.1',
requires = { { 'nvim-lua/plenary.nvim' } }

Loading…
Cancel
Save