Tuesday, June 13, 2023

How to disable and replace Vim's standard formatting of Pascal

Vim handles formatting for most computer languages wonderfully. But not
Pascal. My writing of Pascal programs is slowed horribly by Vim's
bizarre formatting.

Using grep, I found there are no files whose names contain the string
"pascal" in any case in the ~/.vim directory (I'm using Void Linux).

All I really need is to disable Vim's "helpful" indentation, and then:

Set ai
Set expandtab
Set tabstop 3
Set shiftwidth 3

Thanks,

SteveT

Steve Litt
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230613211802.7765673f%40mydesk.domain.cxm.

No comments:

Post a Comment