summaryrefslogtreecommitdiffstats
path: root/dotfiles/vim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/vim.lua')
-rw-r--r--dotfiles/vim.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/vim.lua b/dotfiles/vim.lua
index c09b8e0..ca346f8 100644
--- a/dotfiles/vim.lua
+++ b/dotfiles/vim.lua
@@ -171,16 +171,18 @@ require("compe").setup {
171 source = { 171 source = {
172 buffer = true, 172 buffer = true,
173 calc = true, 173 calc = true,
174 latex_symbols = true,
174 nvim_lsp = true, 175 nvim_lsp = true,
175 nvim_lua = true, 176 nvim_lua = true,
176 nvim_treesitter = true, 177 nvim_treesitter = true,
178 omni = false,
177 path = true, 179 path = true,
178 spell = true, 180 spell = true,
179 vsnip = true, 181 vsnip = true,
182 zsh = true,
180 }, 183 },
181} 184}
182 185
183
184map("i", "<CR>", "compe#confirm('<CR>')", { noremap = true, silent = true, expr = true }) 186map("i", "<CR>", "compe#confirm('<CR>')", { noremap = true, silent = true, expr = true })
185map("i", "<C-e>", "compe#close('<C-e>')", { noremap = true, silent = true, expr = true }) 187map("i", "<C-e>", "compe#close('<C-e>')", { noremap = true, silent = true, expr = true })
186 188