[MacPorts] #43351: tmux @1.9a; wrong file is copied to vim's ftdetect, breaking vim syntax
MacPorts
noreply at macports.org
Sun Apr 13 20:57:13 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
Resolution: | Keywords:
Port: tmux |
-----------------------+--------------------------------
Comment (by tessarek@…):
@vergus:
You misunderstood. We were talking about where to put (or how to name) the
file in the Port source tree. You are talking about the target location.
And yes, it will be in `/opt/local/share/vim/vimfiles/ftdetect/tmux.vim`.
We just need to know, if you rather like the content of the ftdetect file
tmux.vim to be:
{{{
autocmd BufNewFile,BufRead {.,}tmux.conf{.*,} setlocal filetype=tmux
}}}
or
{{{
autocmd BufRead,BufNewFile .tmux.conf setf tmux
}}}
--
Ticket URL: <https://trac.macports.org/ticket/43351#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list