Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nat-418/tcl.nvim

Neovim plugin to aid Tcl/Tk development
https://github.com/nat-418/tcl.nvim

Last synced: 13 days ago
JSON representation

Neovim plugin to aid Tcl/Tk development

Awesome Lists containing this project

README

        

tcl.nvim 🪶
===========
This is a Neovim plugin to aid Tcl/Tk development. It includes:

* Support for the [Nagelfar](https://nagelfar.sourceforge.net/) syntax checker
* Pretty-printing of Tcl manpages, e.g., using `k` on some keyword.

Requirements
------------
* Nvim v0.8.0 or newer
* [nvim-lint](https://github.com/mfussenegger/nvim-lint)

Installation
------------
```sh
$ git clone --depth 1 https://github.com/nat-418/tcl.nvim ~/.local/share/nvim/site/pack/tcl/start/tcl.nvim
```

Then add this code to your `ftplugins/tcl.lua` file:

```lua
vim.cmd.packadd('tcl.nvim'); require('tcl').setup()
```

Usage
-----
This plugin provides a few user commands:

| Command | Description |
| ---------------------------- | ----------------------------------- |
| `:Nagelfar {path\|%}` | Run the syntax checker on some file |

Thanks
------
* [Peter Spjuth](https://wiki.tcl-lang.org/page/Peter+Spjuth) for Nagelfar
* [flukus](https://github.com/flukus) for this
[write-up ](https://flukus.github.io/vim-errorformat-demystified.html)
on how to format Vim/Neovim's `set errorformat=$ARRAY` arrays.
* [Mathias Fußenegger](https://zignar.net) for nvim-lint.