Comments (5)
I can't reproduce the bug. When I press * over my.var it's highlighted as a whole, as expected. Could you please try again with the following simple vimrc:
set nocompatible
syntax enable
filetype plugin on
filetype indent on
set hlsearch
from vim-r-plugin.
Still the same behaviour. Did I mention this must be in an r-chunk in an .Rmd file?
If it is of any help, although I suspect not, I run VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:22:36) on Ubuntu precise.
from vim-r-plugin.
Also tried to remove all other vim plugins with the same effect for RMD files. The plugin version I'm using is: 0.9.9.2. Updated today but had the same behaviour in the previous version I had from mid last year.
from vim-r-plugin.
I still cannot reproduce the bug. The Vim variable that controls the affected behavior is 'iskeyword'. Perhaps you have this variable set somewhere. If not, we have to wait until somebody finds what's causing the bug. Here, the output of
:set iskeyword?
is
iskeyword=@,48-57,_,.
Note the dot at as the last keyword element.
from vim-r-plugin.
Thanks, that helped me track down the issue. Turns out it was a line in my .vimrc: "syntax on". If I set the iskeyword for rmd files before this it was reset. If I set the iskeyword after the "syntax on" line it worked as expected.
Again thanks for the help.
from vim-r-plugin.
Related Issues (20)
- \aa \ae and echo HOT 4
- Sporadic failures to send code chunks to R HOT 6
- vim-r & vim-markdown Rmd syntax highlighting no longer working HOT 13
- omnicompletion not working in .Rmd, .rnw HOT 11
- E364: Library call failed for "SendToRConsole()" HOT 7
- Rhelp is not working with vimpager HOT 4
- tmux settings have changed HOT 12
- \o not working for some cases. HOT 2
- Clear R console input before send R code from vim HOT 4
- ReplaceUnderS() not compatible with vim macros or repeat insert. HOT 4
- Sending command starting with a - (minus) sign HOT 3
- Ignoring Environment Variables on Windows HOT 9
- Running R code in Roxygen example sections does not work for visual selections HOT 12
- To remove extra spaces in vimrplugin_assign_map HOT 2
- tmux -V not available on OpenBSD HOT 2
- Issue with clipboard HOT 2
- [Regression] StartR fails with vim-r 1.2.9 HOT 2
- Vim-R-plugin was replaced by Nvim-R HOT 3
- Start 'tmux' before Vim. The X Window system is required to run R in an external terminal. HOT 1
- Can't see R documentation and plots HOT 1
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-r-plugin.