Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Dec 15, 2012
@blueyed blueyed Fix typo
bf80909
@blueyed blueyed Add `g:tcommentGuessFileType_smarty = 1`
This is meant to guess the filetype for smarty files, which is a mix of
Smarty template tags, HTML, PHP, Javascript, CSS etc.
9af9a86
@blueyed blueyed Define/handle 'ini' file type (e.g. for php.ini)
b87e6ad
Showing with 5 additions and 1 deletion.
  1. +5 −1 autoload/tcomment.vim
View
6 autoload/tcomment.vim
@@ -64,7 +64,7 @@ if !exists("g:tcommentGuessFileType")
let g:tcommentGuessFileType = 0 "{{{2
endif
if !exists("g:tcommentGuessFileType_dsl")
- " For dsl documents, assumet filetype = xml.
+ " For dsl documents, assume filetype = xml.
let g:tcommentGuessFileType_dsl = 'xml' "{{{2
endif
if !exists("g:tcommentGuessFileType_php")
@@ -88,6 +88,9 @@ endif
if !exists("g:tcommentGuessFileType_eruby")
let g:tcommentGuessFileType_eruby = 1 "{{{2
endif
+if !exists("g:tcommentGuessFileType_smarty")
+ let g:tcommentGuessFileType_smarty = 1 "{{{2
+endif
if !exists("g:tcommentIgnoreTypes_php")
" In php files, some syntax regions are wrongly highlighted as sql
@@ -318,6 +321,7 @@ call tcomment#DefineType('html_inline', g:tcommentInlineXML)
call tcomment#DefineType('html_block', g:tcommentBlockXML )
call tcomment#DefineType('htmldjango', '{# %s #}' )
call tcomment#DefineType('htmldjango_block', "{%% comment %%}%s{%% endcomment %%}\n ")
+call tcomment#DefineType('ini', '; %s' ) " php ini (/etc/php5/...)
call tcomment#DefineType('io', '// %s' )
call tcomment#DefineType('jasmine', '# %s' )
call tcomment#DefineType('javaScript', '// %s' )

No commit comments for this range

Something went wrong with that request. Please try again.