This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
opdavies.nvim/after/plugin
Oliver Davies 3537d9a71f feat(nvim): use rstfmt for rst file formatting
Add `vimPlugins.conform-nvim` to add formatting rst files with `rstfmt`.

This isn't supported as a formatter in `none-ls`, and I wanted to try
and potentially switch to `conform-nvim` and `nvim-lint` in the future,
so this is a potential first step towards that.

`rstfmt` itself is already installed and available within my additional
Vim packages.

This currently needs to be run manually, as I don't want to change my
default keybind for formatting until I've supported all the filetypes and formatters
I have in `none-ls`.

To run the foramt manually, run `:lua require"conform".format()`.

See:

- https://github.com/stevearc/conform.nvim
- https://github.com/mfussenegger/nvim-lint
- https://pypi.org/project/rstfmt
- https://www.youtube.com/watch?v=ybUE4D80XSk
2023-11-04 21:46:13 +00:00
..
colorscheme.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
comment.lua refactor(nvim): manage Neovim with Home Manager 2022-10-04 09:38:42 +01:00
completion.lua feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
conform.lua feat(nvim): use rstfmt for rst file formatting 2023-11-04 21:46:13 +00:00
dap.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
dial.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
fugitive.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
gitsigns.lua fix(nvim): next and prev hunk keymaps 2023-10-09 00:11:54 +01:00
harpoon.lua feat(nvim): add more Harpoon keymaps 2023-08-14 00:50:49 +01:00
lualine.lua feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00
luasnip.lua feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
nvim-rest.lua feat(nvim): config updates 2023-03-22 22:24:53 +00:00
phpactor.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
projectionist.lua feat(nvim): add a keymap for switching to the 2023-09-14 19:08:50 +01:00
refactoring.lua refactor(nvim): manage Neovim with Home Manager 2022-10-04 09:38:42 +01:00
treesitter.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
undotree.lua style(nvim): run stylua 2023-09-04 11:05:13 +01:00
vim-test.lua chore(nvim): use run 2023-10-07 22:32:23 +01:00