Giter Site home page Giter Site logo

vim-pug's Introduction

vim-pug

Vim syntax highlighting for Pug (formerly Jade) templates.

For best results consider using this with an (improved) HTML5 syntax plugin.

Installation

I prefer to install plugins using Tim Pope's pathogen.vim. Installation using pathogen is quite simple.

cd ~/.vim/bundle
git clone git://github.com/digitaltoad/vim-pug.git

If you do not want to use pathogen. You can always install vim-pug in the normal manner by copying each directory to your ~/.vim directory. Make sure not to overwrite any existing directory of the same name and instead copy only the contents of the source directory to the directory of the same name in your ~/.vim directory.

vim-pug's People

Contributors

acidjazz avatar adamheins avatar al-the-x avatar ansman avatar atlas48 avatar benjie avatar chemzqm avatar conradz avatar dhruvasagar avatar digitaltoad avatar fbrusch avatar fer22f avatar gleachkr avatar izolate avatar jeltef avatar jessaustin avatar jez avatar jjrdn avatar johngeorgewright avatar kba avatar kostacoffee avatar mattms avatar meloncatty avatar micromaomao avatar rhowardiv avatar ridespirals avatar statico avatar thynson avatar tjkrusinski avatar wavded avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim-pug's Issues

automatically continue | for blocks

Hello,

I would like vim to automatically continue blocks that are prefixed with '|'. One way is the following:

diff --git a/indent/jade.vim b/indent/jade.vim
index 65b2176..f018632 100644
--- a/indent/jade.vim
+++ b/indent/jade.vim
@@ -11,6 +11,9 @@ endif
unlet! b:did_indent
let b:did_indent = 1

+setlocal formatoptions+=r
+setlocal comments+=n:\|
+
 setlocal autoindent sw=2 et
 setlocal indentexpr=GetJadeIndent()
 setlocal indentkeys=o,O,*<Return>,},],0),!^F

There are probably better ways.

Thanks,
Cliff

Problem in the rendering

I have the following code:

!!! 5
html
  head
    title Passport-Local Example
  body
    p
      a(href='/') Home
      a(href='/login') Log In
    p
      a(href='/account') Account
      a(href='/logout') Log Out

After running gg=GG, it gets converted to:

!!! 5
html
        head
                title Passport-Local Example
  body
          p
                  a(href='/') Home
      a(href='/login') Log In
    p
            a(href='/account') Account
      a(href='/logout') Log Out

Even if I try it on the code on jade-lang:

doctype 5
html(lang="en")
  head
    title= pageTitle
    script(type='text/javascript')
      if (foo) {
         bar()
      }
  body
    h1 Jade - node template engine
    #container
      if youAreUsingJade
        p You are amazing
      else
        p Get on it!

I get:

doctype 5
html(lang="en")
        head
                title= pageTitle
    script(type='text/javascript')
            if (foo) {
                    bar()
                            }
  body
          h1 Jade - node template engine
    #container
            if youAreUsingJade
                    p You are amazing
      else
              p Get on it!

Am I doing something wrong??
Thank you :)

vim-jade doesn't auto-detect jade filetype on MacVim

I am using the latest version of vim-jade and MacVim and for some reason the plugin does not syntax highlight automatically jade files.

Plugin is installed correctly via Vundle. I don't believe my .vimrc is the cause. You can take a look at it here: https://github.com/sahat/dotfiles/blob/master/.vimrc

Manually setting :setfiletype jade does the trick for that one particular file. If I open another jade file via CTRL+P I have to :setfiletype jade again.

"else if" not highlighted correctly

Hey,

While if and else separately are highlighted, a combined else if isn't. The jadeScriptConditional group needs a separate else if entry.

<Plug>DiscretionaryEnd and endwise.vim

Hi, I'm having a problem with vim-jade and Tim Pope's vim-endwise interacting incorrectly.

Hitting enter at the end of a line of jade markup frequently inserts an annoying "DiscretionaryEnd" on the next line. This then leaks into other filetypes: doing a carriage return at the end of a line will insert "DiscretionaryEnd" onto the next line.

Disabling endwise.vim fixes the problem; I tried checking through the endwise source but am a Vim noob, so I'm not sure what the problem is.

Any idea what could be wrong?

And, of course, thanks for taking the time to write the plugin :)

Invalid argument: jadeTagBlockText

I am getting following error while opening any jade file:

Error detected while processing /home/js/.vim/bundle/jade/syntax/jade.vim:
line   53:
E65: Illegal back reference
E475: Invalid argument: jadeTagBlockText start="\%(\s*\)\S" end="\ze\n\1" contained contains=jadeInterpolation,jadeTextInlineJade nextgroup=jadeTagBlockText,jadeTagBlockEnd skipnl    

HTML5 support

Hi folks!

First of all, I want to tank you for your job on this vim-pug plugin, it's been very helpful.
I'm wondering if you are considering adding support for HTML5 tags; I've been coding some stuff and had problems on correctly highlighting some tags, such as header main footer.

Thanks again!

highlighting goes wonky

if I have this snippet

title= title + " < " + config.title
link(href:'/css/lib.min.css', rel:'stylesheet')

it assumes everything after < is a string

Stripped trailing whitespace

It seems that trailing whitespace is somehow being stripped from inline elements. Are there any settings that are relevant to turning this off? It looks like indent.vim may be the culprit.

(nevermind)

Feel free to delete this issue if you can; I got confused and posted an issue with Stylus, not Jade.

Partial highlighting of jade syntax when file just opened

Hello,
first of all, thank you for this plugin! I've some minor issue with highlighting when jade file just opened. Please refer to attached image, this is how highlighting looks like on file opening, but if I re-enter :syntax on, it becomes to work correct.

jade-highlight

Here is my .vimrc, some comments in Russian, but hope this is not so important:

"==================================
"= Vundle settings 
"==================================

" be iMproved, required
set nocompatible              
" required
filetype off                  

" set the runtime path to include Vundle and initialize
if has('win32') || has('win64')
    set rtp+=~/vimfiles/bundle/vundle.vim/ 
    call vundle#begin('~/vimfiles/bundle')
else
    set rtp+=~/.vim/bundle/vundle.vim
    call vundle#begin()
endif

" let Vundle manage Vundle, required
Plugin 'gmarik/vundle.vim'

" Plugins goes here
" ---------->
" useful file manager
Plugin 'scrooloose/nerdtree'
" cool status line
Plugin 'bling/vim-airline'
" cool status line for tmux
Plugin 'edkolev/tmuxline.vim'
" html and css writing accelerator
Plugin 'mattn/emmet-vim'
" working with git
Plugin 'tpope/vim-fugitive'
" plugin for catching focus events for vim
" used to update opened file, if it was changed outside
Plugin 'tmux-plugins/vim-tmux-focus-events'
" cool text navigation
Plugin 'Lokaltog/vim-easymotion'
" fuzzy search by files 
Plugin 'kien/ctrlp.vim'
" fast commenting/uncommenting a source code
Plugin 'tomtom/tcomment_vim'
" comfortable indent visualisation
Plugin 'Yggdroot/indentLine'
" indents for html and js
Plugin 'lukaszb/vim-web-indent'
" comfortable startup screen and session management
Plugin 'mhinz/vim-startify'
" comfortable pair braces etc. autocomplete
Plugin 'raimondi/delimitmate'
" plugin for management of text surrounding with any stuff
Plugin 'tpope/vim-surround'
" stylus highlighting and indentation
Plugin 'wavded/vim-stylus'
" less highlighting and indentation
Plugin 'groenewege/vim-less'
" jade highlighting
Plugin 'digitaltoad/vim-jade'
" <---------

call vundle#end()            
filetype plugin indent on   


"==================================
"= Colors and color theme
"==================================

syntax enable
set background=dark
colorscheme molokai 
let g:rehash256 = 1


"==================================
"= GUI
"==================================

if has('gui_running') 
     set guioptions=gc 

    if has('win32') || has('win64')
        " console font
        set guifont=Consolas\ for\ Powerline\ FixedD:h11:cRUSSIAN
        " correct cyrillic in inner vim messages
        lan mes ru_RU.UTF-8
        " backspace issue solution
        set backspace=indent,eol,start
        " we don't need mouse
        set mouse=""
    else
        set guifont=Droid\ Sans\ Mono\ For\ Powerline
    endif
else
    set t_Co=256
    " Allows cursor change in tmux mode
    if exists('$TMUX')
        let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
        let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"
    else
        let &t_SI = "\<Esc>]50;CursorShape=1\x7"
        let &t_EI = "\<Esc>]50;CursorShape=0\x7"
    endif
endif



"==================================
"= Common vim behavior
"==================================

" enabling syntax highlighting
syntax on                               
" wrapping for long lines by default
set wrap                              
" nice wrapping for long lines with respect of
" starging indent
set breakindent
" wrapping by whole words
set linebreak
" we don't need *.bak files (default <oldname>~)
set nobackup                              
" keep all in ram, no swapping
set noswapfile
" left/right screen scrolling when navigating
set sidescroll=5                        
" hinting for previous and next strings with symbols > or < 
set listchars+=precedes:<,extends:>     

" ignoring uppercase when searching
set ignorecase                          
" умное сравнивание с учетом регистра букв при поиске
set smartcase 
" при поиске перескакивать на найденный текст в процессе набора строки
set incsearch                           
" включаем подсветку при поиске
set hlsearch

" кол-во пробелов, которым символ табуляции отображается в тексте
set tabstop=4
" настройка ширины отступов при использовании >> и <<
set shiftwidth=4
" включение замены при вводе табуляций на пробелы
set expandtab
" добавка отступа в строке при нажатии Tab в начале строки (до первого непробельного символа)
set smarttab
" при добавлении новой строки, копирует отступ предыдущей строки 
set autoindent                          
" отображаение нумерации строк
set number

" подсветка парной скобки при нахождении курсора над скобкой
set showmatch
" отображение незавершенных вводимых команд в строке статуса
set showcmd

" отключение перерисовки при выполнении макросов, повышает производительность
set lazyredraw

" настройка кодировок vim по-умолчанию
set encoding=utf-8
set termencoding=utf-8

" Настройки кодировки и формата файлов
set fileformats=unix,dos,mac
set fileencodings=utf-8,cp1251

" отображаем классную строку статуса по-умолчанию
set laststatus=2

" включаем удобное меню автодополнения в командной строке по Tab
set wildmenu 
" конфигурация wildmenu
set wildmode=list:longest,list:full
" игнорирование некоторых типов файлов для wildmenu
set wildignore+=*.o,*.pyc,*.jpg,*.png,*.gif,*.db,*.obj,.git

" настройка автоматического сворачивания блоков текста
set foldmethod=indent
" максимальный уроень для автоматического сворачивания
" set foldlevel=3

" автоматическое перечитываение файла вимом, если тот был изменен извне
set autoread
au BufEnter,BufWinEnter,WinEnter,FocusGained,CmdwinEnter * checktime

" обнуление задержки для клавиши Esc
set ttimeout ttimeoutlen=0 notimeout

" отображение непечатных символов спецсимволами юникода
if has('multi_byte')
    set listchars=tab:\ ,trail:·,eol:¶,extends:→,precedes:←,nbsp:×
    " Vertical split chars
    set fillchars=stl:\ ,stlnc:\ ,vert:│
    " Show ↪ at the beginning of wrapped lines
    if has("linebreak")
        let &sbr = '>>> ' 
    endif
endif

"==================================
"= Common keys remapping 
"==================================

" установка удобного Leader
let mapleader = "\<Space>"
" удобное сохранение файла
nnoremap <Leader>q :w!<CR>
nnoremap <Leader>й :w!<CR>
" удобная работа с окнами
nnoremap <Leader>w <C-w>
nnoremap <Leader>ц <C-w>
" увеличение отступа по Tab в командном режиме 
" nmap <Tab> >>
" уменьшение отступа по Shift-tab в командном режиме 
" nmap <S-Tab> <<
" уменьшение отступа по Shift-tab в режиме вставки
imap <S-Tab> <Esc><<i

" корректируем поведение при создани новых строк так, чтобы при выходе из
" режима редактирования сохранялся имеющийся отступ от начала строки
nnoremap o ox<BS>
nnoremap O Ox<BS>

" замена клавиши esc
" imap ;; <ESC>

" решение вопроса с командным режимом в русской рацкладке
set langmap=ёйцукенгшщзхъфывапролджэячсмитьбюЁЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ;`qwertyuiop[]asdfghjkl\\;'zxcvbnm\\,.~QWERTYUIOP{}ASDFGHJKL:\\"ZXCVBNM<>
nmap Ж :
nmap Н Y
nmap н y
nmap З P
nmap з p
nmap ф a
nmap щ o
nmap г u
nmap З P 
" imap жж <ESC>

" переход к файлу под курсором
nnoremap gf gF

" ********* NERDTree
nnoremap <leader>n :NERDTreeToggle<CR>
nnoremap <leader>т :NERDTreeToggle<CR>

" ********* CtlP
" удобное управление для CtrlP
map <leader>c :CtrlP<CR>
map <leader>v :CtrlPBuffer<CR>
map <leader>b :CtrlPBufTag<CR>

map <leader>с :CtrlP<CR>
map <leader>м :CtrlPBuffer<CR>
map <leader>и :CtrlPBufTag<CR>

" ********* EasyMotion
" классное перемещение в любую точку по одному или двум символам
nmap <Leader>f <Plug>(easymotion-s)
nmap <Leader>d <Plug>(easymotion-s2)

nmap <Leader>а <Plug>(easymotion-s)
nmap <Leader>в <Plug>(easymotion-s2)
" настройка удобного перемещения по строкам
map <Leader>l <Plug>(easymotion-lineforward)
map <Leader>j <Plug>(easymotion-j)
map <Leader>k <Plug>(easymotion-k)
map <Leader>h <Plug>(easymotion-linebackward)

map <Leader>д <Plug>(easymotion-lineforward)
map <Leader>о <Plug>(easymotion-j)
map <Leader>л <Plug>(easymotion-k)
map <Leader>р <Plug>(easymotion-linebackward)


"==================================
"= Plugins settings
"==================================

" *** Vim-airline 
" выбираем цветовую тему (badwolf, durant, hybrid)
let g:airline_theme='hybrid'
" включаем использование символов из спец шрифтов для airline
if has('win32') || has('win64')
    let g:airline_symbols = {}

    let g:airline_left_sep = '⮀'
    let g:airline_left_alt_sep = '⮁'
    let g:airline_right_sep = '⮂'
    let g:airline_right_alt_sep = '⮃'
    let g:airline_symbols.branch = '⭠'
    let g:airline_symbols.readonly = '⭤'
    let g:airline_symbols.linenr = '⭡'
else    
    let g:airline_powerline_fonts=1
endif
" расширение для отображения табов
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#tabline#tab_nr_type=1
let g:airline#extensions#tabline#buffer_idx_mode=0
" расширение для отображения веток git (использует плагин fugitive)
let g:airline#extensions#branch#enabled=1

" *** Tmuxline
let g:tmuxline_preset = 'full'

" *** NerdTree

" *** IndentLine
let g:indentLine_faster=1
let g:indentLine_char="¦"
if has('win32') || has('win64')
    let g:indentLine_char="│"
endif

" *** EasyMotion
let g:EasyMotion_do_mapping = 0 " Disable default mappings
let g:EasyMotion_smartcase = 1
let g:EasyMotion_startofline = 0 " keep cursor colum when JK motion

" *** Startify
let g:startify_session_dir = '~/.vim/session'

" *** Ctrl-p
let g:ctrlp_custom_ignore = {
    \ 'dir':  '\.git$\|\.hg$\|\.svn$\|bower_components$\|build$\|node_modules$',
    \ 'file': '\.exe$\|\.so$\|\.dll$\|\.pyc$' }

Lots of memory consumption

Anyone else experiencing huge slowdown? Top tells me it consumes anywhere from 30 to 55% of memory while editing Jade files. Removing the plugin fixes this problem, but I definitely prefer syntax highlighting.

Scripts that are not javascript are not highlighted correctly.

For example, when writing an angular app, you can write some ng-template in inline:

html(data-ng-app="myApp")
  body
    script(type="text/ng-template" id="myTemplate")
      input.form-control(placeholder="Enter your name here")  // these two lines
      button.btn.btn-default OK!        // shouldn't be highlighted as javascript

In the above example, the code should be highlighted as jade. And for good reason: the script tag is not followed by a ., indicating that the following code, compiled by jade, will become tags anyways. So it is not reasonable to highlight them as anything but jade code.

:coffeescript filter does not highlight correctly

:coffeescript
  console.log 'hiya'

does not highlight correctly

script
  :coffeescript
    console.log 'hiya'

does highlight the coffeescript correctly, but compiles to <script>:coffeescriptconsole.log 'hiya'</script>

I am unsure if this is a vim-jade problem or coffeescript problem

Highlighting makes vim slow

When I have jade.vim enabled, cursor movement becomes extremely slow. I profiled my session, and it seems OnCursorMoved was the most expensive operation. I am not sure what is causing this, but I have never experienced this issue with other syntax highlighting plugins.

The next slowest call is HighlightMatchingPair. I imagine there might be a slow regex somewhere causing highlighting with a pair to be slow. I am not familiar with VIM syntax files, do you have any ideas about this?

Slow to open Jade files

I'm on Vim 7.4 – for some reason it can take anywhere from 5 to 20 seconds to open some Jade files. This is not a super great way of showing the issue but been testing with this file from Jade's official examples:

https://github.com/jadejs/jade/blob/master/examples/layout.jade

and just running them with unix time command and hitting Shift ZZ as fast as I can to close vim and track how long it took:

/usr/local/bin/vim .//examples/layout.jade 17.07s user 0.25s system 95% cpu 18.193 total

Any ideas? I'm going line by line through my vimrc and can't seem to stop it.


Add support for for gq on plain text (|)

Hey,

Using gq to reformat plain text results in the pipe character remaining on the joined line.
In other words, running gq on the following lines should break lines at column whatever-is-configured and prefixed with pipes.

| Very long line Very long line Very long line Very long line Very long line Very long line Very long line Very long line
| Very long line Very long line Very long line Very long line Very long line Very long line Very long line Very long line

At the moment no pipe-action:

| Very long line Very long line Very long line Very long line Very long line
Very long line Very long line Very long line | Very long line Very long line
Very long line Very long line Very long line Very long line Very long line
Very long line

Cheers

unexpected indent after input tag

when add tag after input tag

extends layout

block content
  input(name='name')
  div

it adds one level indent no matter there is an empty line between input and div or not.

extends layout

block content
  input(name='name')
    div

same thing as following code

extends layout

block content
  div
    label 123
    input(name='123')
  div

to

extends layout

block content
  div
    label 123
    input(name='123')
    div

is this intended or is there any way to fix this?

A readme!

Hi,

It would be really helpful if you could include in your repo a readme which describes how to install the vim stuff you've created.

Thanks,

celer

vim-jade doesn't support Jade's block comments

Jade supports block comments of the following form:

body
  //
    This is a block comment
    This line is also in the comment

(as you can see, GitHub's jade code snippet highlighter picks up on the block comments). It'd be awesome to also have this in Vim. It's pretty misleading, especially when commenting out large blocks of code with block comments.

See here for more information on the synatx.

Filter highlight not works

In my VIM 7.2 all filters highlight couldn't work.I got the reason, in the script I changed

end="^%(\z1 | $)@!"
to
end="^%(\z1\s|\s
$)@!"

to make it works again. It really takes me a long time to fix this

form highlights as a for loop

When creating forms I get text like

__for__m#dostuff

When I'd expect something like
form**#**dostuff

It looks as though the syntax is grabbing for before seeing if this might be a form instead.
This mangles the text for the rest of the line.

Not a huge issue but it's a perpetual distraction for me.

Lines starting with '<' are pure html

Lines starting with '<' are ignored by jade, but I think there is some processing going on in the syntax highlighting. (changes color after a colon ':')

Fix suffixesadd

Hi,

Thanks for the plugin, it's pretty decent.
However here - https://github.com/digitaltoad/vim-jade/blob/master/ftplugin/jade.vim#L48 you have the following code :

setlocal suffixesadd=.jade

You should change that to :

setlocal suffixesadd+=.jade
" OR
setlocal suffixesadd^=.jade " If you want jade files to get priority (by prepending to suffixesadd

Without the above it messes the users suffixesadd setting which might have several needed suffixes. For eg.) .js, .css, .html, .rb, etc.

Syntax not working with Vundle

Hello. I installed vim-jade with vundle and it is not working. Here is a stackoverflow question with my exact same problem. It seems as others are experiencing the same thing.

vim-jade doesn't indent script properly

So, I have:

script(src='lib/angular.js')
script(src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular-route.min.js')

then I try to indent with gg=G, it becomes:

script(src='lib/angular.js')
  script(src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular-route.min.js')

Syntax highlighting when adding markdown code in .jade/.pug file.

Hello, Thank you for this plugin.

There is a problem in syntax highlighting when you add a markdown code in .jade file with :marked or :markdown sign.

The thing is every code afterwards gets to be (no matter it's jade - or whatever language compatible to jade)
never really gets highlighted as before. Everything gets to be markdown highlighted and that's plain gold(color) for me.

I also made this issue here stackoverflow so you can take a look at the colors.

Thank you.

How to indent?

Hi guys, I'm using vim and I'm new to jade. This vim-jade seems very cool, but after I install it how can I use the indentation?
There is no 'how to use'.

More modern HTML5 semantic tags are not recognized as valid keywords.

2015-08-01-042508_104x57_scrot
I hope the picture makes it clear.

  1. Tags such as a4 get highlighted. I get it's cause they're valid keywords.
  2. Tags such as a8 don't. I get it's since they're not.
  3. Tags such as header, article don't get highlighted. They should.

Please help me understand how the word is to be recognized as keyword so I could fix and submit pull request. Thank you for your time!

Illegal back reference error, result in a very slow file opening

Error detected while processing ~/vim/bundle/vim-jade/syntax/jade.vim:
line 53:
E65: Illegal back reference
E475: Invalid argument: jadeTagBlockText start="%(\s*)\S" end="\ze\n\1" contained contains=jade
Interpolation,jadeTextInlineJade nextgroup=jadeTagBlockText,jadeTagBlockEnd skipnl

Word jumps with dash ('-') symbol

When I jump on words with default w key, vim-pug doesn't honour - divider in long WORDS. For example, I got this:
.menu-list__item-link
With novim-pug loaded I go just fine with w key in such order:. m - l (then next WORD).
With active vim-pug behavior of w jumps is different: . m (then next WORD). Even though - is present in iskeyword variable (tested with :verbose set iskeyword? command), I'm not able to navigate normally. Same thing with _ symbol, it is ignored in words navigation.

I have this issue with gVim 7.4 on Windows 7 x64, _vimrc is empty, except of vim-pug loaded with vim-plug plugin manager.

support for HTML5 elements

Seems like highlighting HTML5 elements doesn't work.. e.g. video or audio or article... etc. Could that be added?

Error loading syntax

Hello,

when loading vim-jade I'm getting following errors:

Error detected while processing /Users/kostiaka/.vim/bundle/vim-jade/syntax/jade.vim:
line    6:
E492: Not an editor command: ^M
line    7:
E15: Invalid expression: exists("b:current_syntax")^M
line   18:
E488: Trailing characters
line   20:
E488: Trailing characters
line   22:
E488: Trailing characters
line   88:
E488: Trailing characters
line   90:
E171: Missing :endif
Error detected while processing /Users/kostiaka/.vim/bundle/vim-jade/indent/jade.vim:
line    6:
E492: Not an editor command: ^M
line    7:
E15: Invalid expression: exists("b:did_indent")^M
line   11:
E488: Trailing characters
line   71:
E171: Missing :endif
Error detected while processing /Users/kostiaka/.vim/bundle/vim-jade/ftplugin/jade.vim:
line    5:
E492: Not an editor command: ^M
line    7:
E15: Invalid expression: exists("b:did_ftplugin")^M
line   20:
E488: Trailing characters
line   25:
E488: Trailing characters
line   29:
E488: Trailing characters
line   33:
E488: Trailing characters
line   54:
E171: Missing :endif

Thanks a lot for suggestions!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.