Skip to content

Commit

Permalink
merge ap#33
Browse files Browse the repository at this point in the history
  • Loading branch information
GopherJ committed Dec 31, 2020
1 parent 73b9ef5 commit 67481ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/buftabline.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
" Licence: The MIT License (MIT)
" Commit: $Format:%H$
" {{{ Copyright (c) 2015 Aristotle Pagaltzis <[email protected]>
"
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to deal
" in the Software without restriction, including without limitation the rights
" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
" copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down Expand Up @@ -83,7 +83,7 @@ function! buftabline#render()
if strlen(bufpath)
let tab.path = fnamemodify(bufpath, ':p:~:.')
let tab.sep = strridx(tab.path, s:dirsep, strlen(tab.path) - 2) " keep trailing dirsep
let tab.label = tab.path[tab.sep + 1:]
let tab.label = WebDevIconsGetFileTypeSymbol(tab.path) . ' ' . tab.path[tab.sep + 1:]
let pre = screen_num
if getbufvar(bufnum, '&mod')
let tab.hilite = 'Modified' . tab.hilite
Expand Down

0 comments on commit 67481ca

Please sign in to comment.