chore: changelog for 473 (#992)

This commit is contained in:
Simon Hauser
2021-07-14 19:54:06 +02:00
committed by GitHub
parent df579bac42
commit 876bed9632
2 changed files with 39 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
local has_devicons, devicons = pcall(require, 'nvim-web-devicons')
local Path = require('plenary.path')
local Job = require('plenary.job')
local Job = require('plenary.job')
local utils = {}
@@ -251,6 +251,10 @@ utils.diagnostics_to_tbl = function(opts)
return items
end
utils.path_shorten = function(file)
return Path:new(file):shorten()
end
utils.path_tail = (function()
local os_sep = utils.get_separator()
local match_string = '[^' .. os_sep .. ']*$'