summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/plugins.lua3
-rw-r--r--.config/nvim/lua/setup/indent-blankline.lua14
-rw-r--r--.config/nvim/lua/setup/telescope.lua7
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,
+ },
+ },
+}