Code Monkey home page Code Monkey logo

Comments (5)

chakrit avatar chakrit commented on May 29, 2024 1

Just FYI, on OS X there is also a vim build available via homebrew. Just do brew install vim and you'll get a much better vim without having to install macvim (or do any aliases).

I am using indentLine with brew-installed vim and everything is working fine.

See here for my vim --version : https://gist.github.com/chakrit/5202310

It has +conceal and +ruby compiled in.

from indentline.

Yggdroot avatar Yggdroot commented on May 29, 2024

Sorry, I'm not a mac user. I can not reproduce the problem you encounter.
You can try: echo has("conceal"), to see if it's 1; if not, that means you don't have 'conceal' feature compiled with in your vim.

from indentline.

padde avatar padde commented on May 29, 2024

@kdepp The problem is that the Vim binary that ships with OSX is a little bit older than the one in MacVim. Unfortunately, the older version of Vim does not have the conceal feature, which is essential for indentLine to work. When you install MacVim, the installer does not change your Vim binary for the terminal unless you tell it to (which is a good thing!). You can do so by aliasing vim to the Vim binary that ships with MacVim:

alias vim='~/Applications/MacVim.app/Contents/MacOS/Vim'

or, the more failsafe solution i use myself:

if [[ -d /Applications/MacVim.app ]]; then
  alias vim='/Applications/MacVim.app/Contents/MacOS/Vim'
elif [[ -d ~/Applications/MacVim.app ]]; then
  alias vim='~/Applications/MacVim.app/Contents/MacOS/Vim'
fi

@Yggdroot you should close this issue, as it is not a problem with indentLine.

from indentline.

KaoruDev avatar KaoruDev commented on May 29, 2024

I'm on 7.4 and it doesn't work. I used homebrew to install vim and am using it with iterm2

from indentline.

codeninja-ru avatar codeninja-ru commented on May 29, 2024

yep. it doesn't work on mac

vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 25 2015 18:27:50)
MacOS X (unix) version
Included patches: 1-979
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):

from indentline.

Related Issues (20)

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.