fully working autocomplete, and working tab button?
This commit is contained in:
parent
11845721d8
commit
aa825a1d3b
|
@ -314,8 +314,6 @@ cmp.setup {
|
|||
["<Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
elseif has_words_before() then
|
||||
cmp.complete()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
|
@ -343,13 +341,16 @@ tabnine:setup({max_lines = 1000, max_num_results = 20, sort = true})
|
|||
|
||||
-- Setup lspconfig.
|
||||
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
-- require'lspconfig'clojure-lsp.setup {}
|
||||
--require'lspconfig'rnix.setup {}
|
||||
-- require'lspconfig'pylsp.setup {}
|
||||
-- require'lspconfig'terraform_lsp.setup {}
|
||||
require('lspconfig').clojure-lsp.setup {}
|
||||
require('lspconfig').rnix.setup {}
|
||||
require('lspconfig').pylsp.setup {}
|
||||
require('lspconfig').terraform_lsp.setup {}
|
||||
|
||||
-- Bufferline
|
||||
require('bufferline').setup {}
|
||||
|
||||
-- autopairs
|
||||
require('nvim-autopairs').setup{}
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue