Comments (5)
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.
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.
@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.
I'm on 7.4 and it doesn't work. I used homebrew to install vim and am using it with iterm2
from indentline.
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)
- CursorColumn doesn't highlight indentLines
- How to get a vertical line before the first tab HOT 1
- Disable IndentLine for Terminal Buffers HOT 1
- Indention guide lines get highlighted when using easymotion.
- How to have indentLine in blank line and in the first column HOT 4
- eat quotation marks? HOT 2
- error dected when vim startup HOT 10
- BUG: Does not work with a transparent background color but I think I figured out why HOT 3
- let g:indentLine_bufTypeExclude = ['help', 'terminal'] can't disable indentLine in Normal-Terminal mode.
- indentLine should not override conceallevel/concealcurson for exclusions
- how to not display indenline char if there are no 4 spaces
- add support for patch files / unified diff
- Default value for `concealcursor` documentation incorrect HOT 1
- Error when starting macvim 9.0.65 with this plugin enabled HOT 2
- neovim use HOT 2
- Neovim 0.8.0: Error detected while processing BufWinEnter Autocommands HOT 3
- IndentLine color in lua configuration
- -
- Disable Indentline for dashboard HOT 4
- Indentline does not update with shiftwidth change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indentline.