Comments (9)
I'd like to revist whether this plugin supports Vundle; if so a blurb about install instructions in the main README would be great.
from vim-fish.
According to https://github.com/spf13/spf13-vim#adding-new-plugins it seems you need to put
Bundle 'dag/vim-fish'
in ~/.vimrc.bundles.local
.
I'll see about adding generic instructions to the README, so I'll leave this open.
from vim-fish.
Tks, then a vim restart and :BundleInstall
from vim-fish.
hum.. still it doesn't work - vim does apply colorization to my .fish scripts.
from vim-fish.
May need to restart after :BundleInstall
.
from vim-fish.
yep, it works - but no colorization, right? keywords are underlined
also what does this mean? it's chinese to me
To make the folds more pleasant to work with you might also want to tweak settings like foldlevelstart and foldminlines, which you could do either globally in your ~/.vimrc or locally as described above.
What are the customization parameters than can be applied to .vim/ftplugin/fish.vim
For now mine looks as
syntax enable
filetype plugin indent on
compiler fish
setlocal textwidth=79
setlocal foldmethod=expr
from vim-fish.
You don't want
syntax enable
filetype plugin indent on
in ~/.vim/ftplugin/fish.vim
, and in fact this is probably done for you by spf13 already.
from vim-fish.
Does this package support Vundle (in my .vimrc)? Sorry for commenting on a... 6 year old issue, but it was my question =)
from vim-fish.
I have both Vim version 8.1.1550
and NVIM v0.4.3
on MacOS 10.14.6
I wrote the following lines in my .vimrc
file as recommended enter link description here
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'dag/vim-fish'
filetype plugin indent on " required
highlight LineNr ctermfg=grey
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
As indicated here, I also created a ~/.vim/ftplugin/fish.vim
file and inserted the following in it:
" Set up :make to use fish for syntax checking.
compiler fish
" Set this to have long lines wrap inside comments.
setlocal textwidth=79
" Enable folding of block structures in fish.
setlocal foldmethod=expr
However I don't have highlighting for the following fish_prompt.fish
file when opening it with vim
function fish_prompt
set_color $fish_color_cwd
echo ' [' (prompt_pwd) ' ] > '
end
from vim-fish.
Related Issues (20)
- Move usage notes from README to help file
- Drop or improve the funced behavior HOT 5
- Improve portability
- Syntax Checker return Unknown command 'eval' HOT 2
- E484: Can't open file /tmp/vnKV0xX/0 at Vim startup HOT 3
- syntastic checker doesn't work with current syntastic HOT 2
- Indentation is broken HOT 10
- Comments are replaced by empty lines HOT 5
- funced support HOT 4
- Unable to create temp dir automatically
- Startup of vim-fish is insanely slow HOT 37
- Unknown option error on start up HOT 2
- neosnippet snippets HOT 1
- Not keyword is not highlighted HOT 4
- Broken syntax of quoted strings
- "Invalid range" plugin error when opening fish file HOT 1
- A fork that I indend to maintain HOT 1
- Completion is broken HOT 1
- pushd and popd are considered errors
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 vim-fish.