nvim-lua / completion-nvim

A async completion framework aims to provide completion to neovim's built in LSP written in Lua
Apache License 2.0
973 stars 79 forks source link

feat(auto close brace) #393

Open rafaelsq opened 3 years ago

rafaelsq commented 3 years ago

I use gopls to complete some structs, but when the suggestion is a struct like &model.User{}, it will complete without closing the brace(&model.User{)

Enable auto close brace by

let g:completion_enable_auto_close_brace = 1