mclear-tools / citar-capf Goto Github PK
View Code? Open in Web Editor NEWCompletion at point for citations using citar
License: GNU General Public License v3.0
Completion at point for citations using citar
License: GNU General Public License v3.0
Line 42 in 3f7b96d
I'm not sure how you want to clarify this, or I would submit a tiny PR, but note:
The advantage of the Capf API is that it doesn't incur dependencies, so it could go directly into Citar. Is the provided functionality controversial such that @bdarcus prefers to have it in a separate package? If not, having this inside Citar will be advantageous:
Generally I am all for a modularized package ecosystem where it makes sense. But sometimes packages are too fine grained as it seems to be the case here.
Picking up where we earlier left off, in the hopes I can get this working, or it might help with the README instructions.
I do plan to test it with emacs -Q; I just need more time (maybe tomorrow).
If I add your use-package
example, suitably modified for doom ...
Value of completion-at-point-functions
:
Its value is (pcomplete-completions-at-point t)
Local in buffer test.org; global value is
(tags-completion-at-point-function citar-capf)
I do get corfu to activate with the citar completion. But if I hit RET
on a candidate, it does not insert the key, but instead adds a newline to the buffer.
Aside: with the private doom corfu module I'm using, for other capfs (for example, in lisp buffers), when I highlight a candidate, it presents a preview, and when I hit RET
it behaves as expected (inserts the candidate).
Its value is (TeX--completion-at-point t)
Local in buffer test.tex; global value is
(tags-completion-at-point-function citar-capf)
Here I get no matches.
No matches.
Its value is (citar-capf t)
Local in buffer test.md; global value is
(tags-completion-at-point-function citar-capf)
Any suggestions? Is that setup as you expect with the variable?
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.