Comments (6)
Thanks! I sometimes forget that people use different languages and therefore have some catch
statements that explicitly assumes english language. Should be relatively easy to fix, and I'll see if I can push a fix later tonight.
from wiki.vim.
The g:wiki_link_target_type
option should be a string, not a list. Try setting it to 'md'
.
I think I fixed the language specific issue now. Please test.
from wiki.vim.
Ty for your fast response, and it seems to work like a charm now.
Also ty for the hint with the g:wiki_link_target_type
, that solved the other error as well.
However, links do not seem to 'collapse'. And I am not sure if that is the intended behavior. When the cursor is on word
and I hit enter it turns into [word](word)
. (With the link, and all created properly, e.g. red and green coloring.) But when I move the cursor away, I would expect it to collapse, so it would read word
, but it still reads [word](word)
.
There are prob little chances that this is related, but I would like to not miss out on that.
Edit: I just discovered for testing purpose, that when i open a .wiki
file, and hit :WikiEnable
, and there I can create the links like described above (except the coloring) and there the 'collapsing' works just fine. On other filetypes it seems to have no effect. (e.g. .txt
) (<leader>ww
opens up a index.md
with the above setting.)
..but I guess I missed out on something in the manual. Sry for the inconvenience in that case.
from wiki.vim.
..but I guess I missed out on something in the manual. Sry for the inconvenience in that case.
No inconvenience. First, the feature you are talking about is the conceal feature from syntax highlighting, see :help syn-conceal
. And yes, you did miss something from the docs (see :help wiki-intro
):
Note: |wiki.vim| is `not` a filetype plugin. It is designed so that it may be used
along with filetype plugins, e.g. for dedicated Markdown plugins. One
may also use `wiki-ft.vim` (https://github.com/lervag/wiki-ft.vim) for
simple syntax highlighting and folding of `.wiki` files, if desired.
The main point is that is does not include syntax rules or filetype specific rules. As suggested, one could use the wiki-ft.vim
plugin for .wiki
files. This implements folding and syntax highlighting. For Markdown files, there are a lot of other and probably better plugins, e.g. see this blog post. Personally, I use vim-markdown, which works quite well.
from wiki.vim.
Good work and thanks for pointing me into the co-related subject of the vim universe, and the implementation means of this plugin!
(Also the blog post is awesome.)
from wiki.vim.
(Also the blog post is awesome.)
Yes, I also liked it.
Feel free to let me know if you have other issues or feature requests :)
from wiki.vim.
Related Issues (20)
- <cr> creating nested links that are not required HOT 5
- Option to disable popups for ui#input HOT 4
- [Discussion]: Dropping support for vim HOT 13
- [Bug] :WikiJournalCopyToNext is not working HOT 2
- new error message at startup "E715: Dictionary required" HOT 10
- Error when invoking WikiGraphCheckOrphans HOT 1
- wrong TOC level HOT 15
- automatic production of backlink does not work. HOT 4
- Feature. Create link with a relative path and a header in markdown HOT 3
- `wiki#link#get_creator` having issues retrieving `l:ft` from `g:wiki_link_creation` despite `l:ft` existing in the list. HOT 5
- LazyVim setup HOT 6
- wiki_template is duplicated HOT 5
- Feature request - Treesitter plugin support - add link HOT 28
- Remapping of `<C-i>` disables `<Tab>` (aka `:WikiLinkNext`) HOT 6
- Discussion: img-clip.nvim HOT 2
- Wiki links without full path HOT 3
- new incompatibility between wiki.vim and lists.vim HOT 5
- wiki link add, prefix with backslash HOT 4
- Non Functioning Links to Headers if Header contains a Space HOT 4
- Need help - asciidoctor files with wiki links, moving to lua/latest wiki.vim HOT 8
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 wiki.vim.