X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/af913f93e5071e9b256c6c2314f141432df08bbd..04b083ae65a38409a668aa0ca8e8b59904f08e60:/config/nvim/init.lua diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 7a3c907..26b7156 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -84,20 +84,18 @@ vim.keymap.set("n", "", -- Svelte Config vim.g.vim_svelte_plugin_use_typescript = true --- CoC -vim.keymap.set('i', '', 'pumvisible() ? "\\" : "\\"', {expr = true, silent = true}) -vim.keymap.set('i', '', 'pumvisible() ? "\\" : "\\"', {expr = true, silent = true}) -vim.keymap.set('i', '', 'pumvisible() ? "\\" : "\\"', {expr = true, silent = true}) -vim.keymap.set('i', '', 'coc#refresh()', {expr = true, silent = true}) -vim.keymap.set('n', 'K', ':call CocActionAsync("doHover")', {silent = true}) - -vim.keymap.set('n', '[g', '(coc-diagnostic-prev)', {silent = true}) -vim.keymap.set('n', ']g', '(coc-diagnostic-next)', {silent = true}) - -vim.keymap.set('n', 'gd', '(coc-definition)', {silent = true}) -vim.keymap.set('n', 'gy', '(coc-type-definition)', {silent = true}) -vim.keymap.set('n', 'gi', '(coc-implementation)', {silent = true}) -vim.keymap.set('n', 'gr', '(coc-references)', {silent = true}) +-- Coq +vim.g.coq_settings = { + auto_start = 'shut-up', + clients = { + snippets = { + warn = {} + } + } +} -- Plugins require('plugins') +require('treesitter_config') +require('lsp') +require('dap_config')