plugin for vim

39 views
Skip to first unread message

ARP

unread,
Nov 30, 2020, 8:07:32 PM11/30/20
to Ledger
Hello, I downloaded and installed the vim plugin.  I believe the files are in the right place because I installed with Pathogen.  I then put the modeline vim:filetype=ledger
in my ledger.dat file. 

However, I don't see any of the plugin features, like syntax formatting.  I welcome any suggestions.  Thank you!

Dániel Fancsali

unread,
Dec 1, 2020, 10:09:04 AM12/1/20
to Ledger
Good afternoon,

You can verify, that the file has been loaded, by saying ':scriptnames' in normal mode.

Also, I'd try to actually set the filetype with ':set filetype=ledger' to see, whether you can trigger it that way.

And also, perhaps try ':help ledger'.

Hope that helps at least to some extent.

Regards,
Dan

--

---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/19d0954b-d467-48c3-b362-31b315fd25bcn%40googlegroups.com.

Boyd Kelly

unread,
Dec 1, 2020, 3:20:24 PM12/1/20
to ledge...@googlegroups.com
Also the default file extensions the plugin uses are *.ldg *.ledger and .journal.  Test renaming your file from .dat to .journal or .ledger.

On Tue, 1 Dec 2020 at 01:07, ARP <arp...@gmail.com> wrote:
--

---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/19d0954b-d467-48c3-b362-31b315fd25bcn%40googlegroups.com.


--

Luka Bradesko

unread,
Dec 2, 2020, 2:50:42 PM12/2/20
to Ledger
Hi, not exactly VIM, but you could take a look at this: https://plugins.jetbrains.com/plugin/15405-ledger-cli

Disclosure: I am the author. Currently we are using it internally, but are exploring options to make it broader.

Best,
Luka B

Rob Pyott

unread,
Dec 7, 2020, 12:54:49 PM12/7/20
to ledge...@googlegroups.com
I changed my file to .journal and the vim plugin syntax is working. Thank you!!

On Tuesday, December 1, 2020 at 9:20:24 PM UTC+1 Boyd Kelly wrote:
Also the default file extensions the plugin uses are *.ldg *.ledger and .journal.  Test renaming your file from .dat to .journal or .ledger.

On Tue, 1 Dec 2020 at 01:07, ARP <arp...@gmail.com> wrote:
Hello, I downloaded and installed the vim plugin.  I believe the files are in the right place because I installed with Pathogen.  I then put the modeline vim:filetype=ledger
in my ledger.dat file. 

However, I don't see any of the plugin features, like syntax formatting.  I welcome any suggestions.  Thank you!

--

---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/19d0954b-d467-48c3-b362-31b315fd25bcn%40googlegroups.com.


--

--

---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages