tweak neovim complete options

pull/2/head
Alpha Chen 2 years ago
parent 2daa401501
commit 9435b5da46
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -42,6 +42,10 @@
;; re-run the last macro
(vim.keymap.set :n :Q "@@")
;; completion
(set vim.o.completeopt "longest,menuone")
;; smart tab
;; https://vim.fandom.com/wiki/Smart_mapping_for_tab_completion
(vim.keymap.set :i :<tab>

Loading…
Cancel
Save