[MacPorts] #43351: tmux @1.9a; wrong file is copied to vim's ftdetect, breaking vim syntax
MacPorts
noreply at macports.org
Sun Apr 13 18:21:53 PDT 2014
#43351: tmux @1.9a; wrong file is copied to vim's ftdetect, breaking vim syntax
----------------------+--------------------------------
Reporter: vergus@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: tmux
----------------------+--------------------------------
The wrong file is being written to
/opt/local/share/vim/vimfiles/ftdetect/tmux.vim . What is currently being
written is a copy of the syntax file located at:
/opt/local/share/vim/vimfiles/syntax/tmux.vim. What should be writtent to
that file is:
{{{
autocmd BufNewFile,BufRead {.,}tmux.conf{.*,} setlocal filetype=tmux
}}}
As it is, this breaks syntax for EVERY file that does not have a filetype
(e.g. anything without an extension- README, etc.).
--
Ticket URL: <https://trac.macports.org/ticket/43351>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list