This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is a short code snippet made for the website https://awbw.amarriner.com/ | |
* | |
* It prints the info related to any damaged pipe seam, which is public information in fog of war maps, | |
* but is annoying to check manually for maps with large numbers of pipe seams | |
* | |
* It is written in javascript, and is run through the developer console. | |
* Open the developer console (F12 hotkey on most browsers I know of) and run this code: | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command! -nargs=1 TAG call TAG('<args>') | |
function! TAG(tagname) | |
set tags^=tags-novars | |
set tags^=./tags-novars | |
exec 'tag ' . a:tagname | |
set tags-=tags-novars | |
set tags-=./tags-novars | |
endfunction | |
" Of course, it requires you to have the alternate tags file (I named mine tags-novars) |