jeffmm / vim-roam Goto Github PK
View Code? Open in Web Editor NEWA Vim-Powered and Roam Research-Inspired Wiki
License: MIT License
A Vim-Powered and Roam Research-Inspired Wiki
License: MIT License
After installation, I get this error when starting neovim:
Error detected while processing /home/jim/.local/share/nvim/plugged/vim-roam/plugin/roam.vim:
line 60:
E117: Unknown function: vimwiki#vars#get_global
E15: Invalid expression: vimwiki#vars#get_global('map_prefix')
I was able to fix it by changing the plugin listing of vimwiki from:
Plug 'vimwiki/vimwiki.vim'
to
Plug 'vimwiki/vimwiki'
I'm not sure if this is specific to my system or if the Readme should be updated.
Hello,
Thank you Jeff.
I'm getting the following error when creating a link from text selected in visual mode:
Error detected while processing function roam#vimwiki#normalize_link_visual:
line 2:
E117: Unknown function: vimwiki#u#get_selection
E15: Invalid expression: vimwiki#u#get_selection()
with vimwiki I can select a number of words and hit enter to create a link and new page
once I install vim-roam I get the above error.
(I'm running nvim in powershell on windows)
For now I'm hacking around the issue:
autoload\roam\vimwiki.vim
" " Normalize link in visual mode Enter keypress
function! roam#vimwiki#normalize_link_visual() abort
" Get selection content (this isn't a builtin, unfortunately)
" let visual_selection = vimwiki#u#get_selection()
" let extension = fnamemodify(trim(visual_selection), ":e")
" if extension ==? "png" || extension[:2] ==? "tif" || extension ==? "bmp" || extension ==? "jpg" || extension ==? "jpeg"
" call s:convert_to_image_link(visual_selection)
" return
" else
call vimwiki#base#normalize_link(1)
"endif
endfunction
It looks like that function isn't in base.vim any more
https://github.com/vimwiki/vimwiki/blob/master/autoload/vimwiki/base.vim
though it looks like it was part of a fix at one point
From reading the comments, perhaps the normalise functionality is now incorporated into vimwiki?
Kind regards
Mat
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.