feat: truncate option for path_display (#1254)

This commit is contained in:
Luke Kershaw
2021-09-19 19:38:00 +01:00
committed by GitHub
parent e53cf55225
commit f0db7d3a59
4 changed files with 20 additions and 0 deletions

View File

@@ -330,6 +330,7 @@ end
function make_entry.gen_from_lsp_symbols(opts)
opts = opts or {}
local bufnr = opts.bufnr or vim.api.nvim_get_current_buf()
local display_items = {
@@ -932,6 +933,7 @@ end
function make_entry.gen_from_lsp_diagnostics(opts)
opts = opts or {}
local lsp_type_diagnostic = vim.lsp.protocol.DiagnosticSeverity
local signs