diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-03-14 13:14:39 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-03-14 13:14:39 +0100 |
commit | ebfbe6d30f1edb79dad337b274ff035447d51878 (patch) | |
tree | f18341a2edd7ca160598d2b14c92089a46373af4 | |
parent | 27cb4851e7bbeb5a0b8164ccd9011bcc372e1421 (diff) |
nvim: minor config improvement
-rw-r--r-- | .config/nvim/lua/plugins.lua | 3 | ||||
-rw-r--r-- | .config/nvim/lua/setup/indent-blankline.lua | 14 | ||||
-rw-r--r-- | .config/nvim/lua/setup/telescope.lua | 7 |
3 files changed, 22 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index b1054b3..008cb78 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -160,6 +160,9 @@ local plugins = { module = "telescope", cmd = "Telescope", wants = { "ripgrep", "telescope-fzf-native.nvim", "plenary.nvim" }, + config = function() + require "setup.telescope" + end }, } diff --git a/.config/nvim/lua/setup/indent-blankline.lua b/.config/nvim/lua/setup/indent-blankline.lua index 8e25798..4a3c1e9 100644 --- a/.config/nvim/lua/setup/indent-blankline.lua +++ b/.config/nvim/lua/setup/indent-blankline.lua @@ -3,6 +3,16 @@ vim.cmd('highlight IndentBlanklineChar guifg=#3b414c gui=nocombine') require("indent_blankline").setup { char = "┊", show_trailing_blankline_indent = false, - buftype_exclude = {'startify', 'help', 'terminal', 'packer'}, - filetype_exclude = {'startify', 'help', 'terminal', 'packer'}, + filetype_exclude = { + "help", + "terminal", + "alpha", + "packer", + "lspinfo", + "TelescopePrompt", + "TelescopeResults", + "lsp-installer", + "", + }, + buftype_exclude = { "terminal" }, } diff --git a/.config/nvim/lua/setup/telescope.lua b/.config/nvim/lua/setup/telescope.lua new file mode 100644 index 0000000..a9dfeb3 --- /dev/null +++ b/.config/nvim/lua/setup/telescope.lua @@ -0,0 +1,7 @@ +require("telescope").setup { + defaults = { + path_display = { + truncate = 3, + }, + }, +} |