all repos

init.lua @ b8793c7

my nvim config
3 files changed, 4 insertions(+), 11 deletions(-)
telescope migrate from rg to fd, add gui font
Author: neoteny ss2316544@gmail.com
Committed at: 2021-10-28 16:15:41 +0300
Parent: 3b1b797
M lua/options.lua

@@ -13,7 +13,7 @@ o.conceallevel = 0

o.fileencoding = "utf-8" o.foldmethod = "manual" o.foldexpr = "" -o.guifont = "monospace:h17" +o.guifont = "JetBrains Mono Nerd Font:h17" o.hidden = true o.hlsearch = true o.ignorecase = true
M lua/plugin/configs/cmp.lua

@@ -51,9 +51,9 @@ end,

}, sources = { { name = "nvim_lua", max_item_count = 5 }, - { name = "nvim_lsp", max_item_count = 10 }, + { name = "nvim_lsp", max_item_count = 8 }, { name = "buffer", keyword_length = 4, max_item_count = 5 }, - { name = "luasnip", max_item_count = 4 }, + { name = "luasnip", keyword_length = 2, max_item_count = 4 }, }, } end
M lua/plugin/configs/telescope.lua

@@ -20,14 +20,7 @@ horizontal = { mirror = false },

vertical = { mirror = false }, }, vimgrep_arguments = { - "rg", - "--color=never", - "--no-heading", - "--with-filename", - "--line-number", - "--column", - "--smart-case", - "--hidden", + "fd", "--colors=never", "--type files" }, file_ignore_patterns = { ".git", "node_modules", "target", "env", ".bin" }, path_display = { shorten = 5 },