use 0.7 keymappings

This commit is contained in:
2022-04-20 15:14:11 +02:00
parent 8a000f811c
commit d7b49c4c4b
8 changed files with 49 additions and 60 deletions

View File

@@ -4,8 +4,6 @@ vim.fn.sign_define('DiagnosticSignWarn', { text = ' ', texthl = 'DiagnosticSi
vim.fn.sign_define('DiagnosticSignInfo', { text = '', texthl = 'DiagnosticSignInfo' })
vim.fn.sign_define('DiagnosticSignHint', { text = '', texthl = 'DiagnosticSignHint' })
local utils = require('utils')
require('neo-tree').setup({
window = { -- see https://github.com/MunifTanjim/nui.nvim/tree/main/lua/nui/popup for
-- possible options. These can also be functions that return these options.
@@ -50,4 +48,4 @@ require('neo-tree').setup({
},
},
})
utils.map('n', '\\', '<cmd>Neotree reveal<cr>')
vim.keymap.set('n', '\\', '<cmd>Neotree reveal<cr>')