1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-26 21:09:47 +01:00
Commit graph

435 commits

Author SHA1 Message Date
Ching Pei Yang
dd96499826
fix: disable empty winbar when breadcrumbs are disabled 2023-12-07 02:31:08 +01:00
Kalle Jepsen
f1406a30bb languages: add terraform language support 2023-11-28 11:14:04 +01:00
Frothy
4453d5c9dd
visuals/indent-blankline: rename scope.showCurrContext to scope.enabled 2023-11-24 12:05:19 +03:00
0067d44695
modules/visuals: update indent-blankline to v3 2023-11-16 12:18:22 +03:00
Frothy
4dc7576176 treewide: change modules to use 'inherit (builtins) ... 2023-11-14 00:18:32 -07:00
Frothy
7518c31ca8 treewide: move missing modules from 'with lib' to 'inherit (lib) ...' 2023-11-07 19:16:46 -07:00
b4972956a2
ui/smartcolumn: inherit library function from lib 2023-11-07 14:24:11 +03:00
Frothy
ffa25c8c8a treewide: move from 'with lib' to 'inherit (lib) ...' 2023-11-06 21:41:53 -07:00
3fde6a4bf3
modules/core: inherit literalExpression from lib 2023-11-06 12:39:54 +03:00
c1f449137f
treewide: cleanup 2023-11-06 12:33:38 +03:00
385d91f7e4
docs: use literalMD for example codeblocks
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
2023-11-06 11:15:33 +03:00
9328443273
docs: use inline anchors for referenced options 2023-11-06 03:46:51 +03:00
3de5f1ba39
docs: use nixosOptionDocs
NixOS 23.11 is deprecating DocBook option documentation. Following home-manager in this change is probably a good idea
2023-11-04 14:30:04 +03:00
Kalle Jepsen
17d8409109 basic: declare option to set smartcase or ignorecase 2023-10-28 14:53:06 +02:00
83802bb7db
lsp/nvim-docs-view: add keybinds 2023-10-27 09:30:20 +03:00
ce8fdf0003
modules/lsp: add nvim-docs-view
A neovim plugin to display lsp hover documentation in a side panel.
2023-10-26 15:03:58 +03:00
Kalle Jepsen
2a809a64ff statusline/lualine: Move helper to lib 2023-10-24 09:18:44 +02:00
Kalle Jepsen
11a974a111 statusline/lualine: extensible sections
This adds extraActiveSection and extraInactiveSection to the lualine
options to make it possible to easily extend the defaults with
additional sections. We're also changing the exposed type of the
*activeSection attributes from `str` to `listOf str`.
2023-10-23 21:08:31 +02:00
2b48b6d844
Merge pull request from horriblename/feat-disable-autoformat
feat: allow disabling format on save per buffer
2023-10-23 20:22:01 +03:00
7b8f68e6d0
visuals/highlight-undo: increase highlight timeout duration 2023-10-23 20:15:31 +03:00
Ching Pei Yang
d43afa4316 feat: keybind to toggle format on save 2023-10-23 18:50:15 +02:00
Frothy
e749ab20d3 lsp: remove duplicate keybindings from config 2023-10-23 08:46:49 -06:00
7b175abeb6
Merge pull request from ksonj/lsp-mappings
lsp: make key bindings configurable
2023-10-23 08:42:34 +03:00
Kalle Jepsen
c693d2fbd4 lsp: make key bindings configurable
This exposes the keybindings for the lsp commands to the configuration
and maps a few more commands (e.g. `vim.lsp.buf.format()`) It also adds
a description to be picked up by whichkey to make the whichkey UX a bit
nicer (ie. we're now showing "Go to definition" instead of just
"vim.lsp.buf.definition()")
2023-10-22 22:42:55 +02:00
9b63ac826e
languages/bash: use mkEnableOption for enable options 2023-10-22 18:08:48 +03:00
6e448cf958
feat: bash language server 2023-10-22 18:02:55 +03:00
b358bfdbd0
docs: use literalAsciiDoc 2023-10-22 01:54:56 +03:00
c353329620
modules/visuals: add highlight-undo
a plugin for highlighting undo/redo targets
2023-10-22 01:22:31 +03:00
Kalle Jepsen
a452a0b0e7 fixes enable option descriptions
mkEnableOption already adds the phrase "Whether to enable ..." to the
beginning of the option description, such that the string argument
should only be "thing to be enabled"
2023-10-21 19:15:36 +02:00
Kalle Jepsen
49c0a5962f plugins: Replace null-ls with none-ls
null-ls is unmaintained as of August 2023 (see
https://github.com/jose-elias-alvarez/null-ls.nvim/issues/1621). none-ls
appears to be the accepted replacement fork.
2023-10-21 12:35:39 +02:00
Frothy
e722c97188 theme/oxocarbon: add oxocarbon theme module 2023-10-20 16:39:46 -06:00
0631fccccf
Merge pull request from ksonj/python-isort
languages/python: add black-and-isort formatter
2023-10-20 17:49:09 +03:00
99c40c716b
statusline/lualine: get excluded buffers from a list in LSP status component 2023-10-20 15:03:00 +03:00
7b2e7cb6a8
statusline/lualine: use nvim_get_option_value() instead of nvim_buf_get_option()
Co-authored-by: Frothy <76622149+FrothyMarrow@users.noreply.github.com>
2023-10-20 12:50:51 +03:00
ff5555e3c8
statusline/lualine: disable LSP status inside toggleterm buffer 2023-10-20 11:34:29 +03:00
Kalle Jepsen
bdfad60e34 languages/python: fix isort package 2023-10-20 10:01:49 +02:00
Kalle Jepsen
e3b55d9798 languages/python: add black-and-isort formatter
Adds two additional formatters for python:

- isort, to only sort imports
- black-and-isort, which runs black + isort in a compatible manner
2023-10-20 09:58:03 +02:00
Kalle Jepsen
997a345cda utility/surround: vendor keybindings for surround
Adds an opioniated set of keybindings for nvim-surround that avoids
conflicts with nvim-leap by default and an option to disable those.
2023-10-17 12:47:44 +02:00
Kalle Jepsen
570eb32a5c utility/surround: run format 2023-10-16 13:02:37 +02:00
Kalle Jepsen
59c23f2855 utility/surround: Add mappings for nvim-surround
The default mappings for nvim-leap and nvim-surround conflict
(i.e. nvim-surround uses `S` in visual mode). This change adds options
to adapt the mappings for nvim-surround directly from the
surround-module.
2023-10-16 11:53:24 +02:00
isabel
38371e56b0
fix: typo ledaer -> leader 2023-10-14 19:35:43 +01:00
8c4d7a3673
ui/noice: disable messages by default
fixes completion sources showing up every single time
2023-10-14 14:52:55 +03:00
Ching Pei Yang
0614dbfd0a
fix: typo 2023-10-10 13:16:09 +02:00
Yoni FIRROLONI
4161589b56 languages/php: init 2023-10-10 12:12:57 +02:00
ec574e1c00
languages/python: replace deprecated string type 2023-10-06 13:57:48 +03:00
6e4f70283a
Merge pull request from jacekpoz/plugin-thingy-deprecation 2023-10-03 21:24:28 +03:00
jacekpoz
bfb8ada774
fix: stop using deprecated buildVimPluginFrom2Nix 2023-10-03 19:48:09 +02:00
Ching Pei Yang
1deee2f27b fix: add missing on_attach for jdtls 2023-09-26 14:39:50 +02:00
Ching Pei Yang
18dabf1725 doc: improve description of neodev 2023-09-23 15:41:34 +02:00
Ching Pei Yang
456295b46e feat: add neodev plugin 2023-09-23 15:37:04 +02:00