https://github.com/yukimemi/dps-ahdr
https://github.com/yukimemi/dps-ahdr
deno neovim neovim-plugin plugin typescript vim vim-denops vim-plugin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yukimemi/dps-ahdr
- Owner: yukimemi
- Created: 2021-03-07T01:12:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T11:18:14.000Z (9 months ago)
- Last Synced: 2024-09-08T13:03:01.211Z (9 months ago)
- Topics: deno, neovim, neovim-plugin, plugin, typescript, vim, vim-denops, vim-plugin
- Language: TypeScript
- Homepage:
- Size: 81.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dps-ahdr
Denops Add Header
# Features
This plugin adds a header for some files.
# Installation
If you use [folke/lazy.nvim](https://github.com/folke/lazy.nvim).
```lua
{
"yukimemi/dps-ahdr",
lazy = false,
dependencies = {
"vim-denops/denops.vim",
},
}
```If you use [yukimemi/dvpm](https://github.com/yukimemi/dvpm).
```typescript
dvpm.add({ url: "yukimemi/dps-ahdr" });
```# Requirements
- [Deno - A modern runtime for JavaScript and TypeScript](https://deno.land/)
- [vim-denops/denops.vim: 🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno](https://github.com/vim-denops/denops.vim)
# UsageNo special settings are required.
Default config file is [cofnig.toml](https://github.com/yukimemi/dps-ahdr/blob/main/denops/ahdr/config.toml)# Commands
`:DenopsAhdr`
Add headers depending on file type.# Config
No settings are required. However, the following settings can be made if necessary.
`g:ahdr_debug`
Enable debug messages.
default is v:false`g:ahdr_cfg_path`
Path to config toml file path.
default is `~/.ahdr.toml`# Example
```vim
let g:ahdr_debug = v:false
let g:ahdr_cfg_path = expand("~/.config/ahdr/config.toml")
```# License
Licensed under MIT License.
Copyright (c) 2023 yukimemi