vim optimizations and fixes

main
Steffen Rademacker 8 months ago
parent f025919313
commit b65c726cc4

@ -2,7 +2,7 @@ local cmp = require('cmp')
cmp.setup({
completion = {
keyword_length = 3,
keyword_length = 2,
},
snippet = {
expand = function(args)

@ -11,13 +11,11 @@ require('telescope').setup({
extensions = {
fzf = {
fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter
case_mode = 'smart_case', -- or "ignore_case" or "respect_case"
override_generic_sorter = true,
override_file_sorter = true,
case_mode = 'smart_case',
},
},
})
-- To get fzf loaded and working with telescope, you need to call
-- load_extension, somewhere after setup function:
require('telescope').load_extension('fzf')

@ -4,13 +4,11 @@ local function get_config (key)
end
-- ensure folke/lazy.nvim is being loaded
-- using folke/lazy.nvim as package manager
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
'git', 'clone', '--filter=blob:none',
'https://github.com/folke/lazy.nvim.git', '--branch=stable',
lazypath,
'https://github.com/folke/lazy.nvim.git', '--branch=stable', lazypath,
})
end
vim.opt.rtp:prepend(lazypath)

Loading…
Cancel
Save