Commit Graph
63 Commits
Author SHA1 Message Date
Micah Halter 01d8121173 refactor: rewrite stable channel commit pinning 2023-03-10 10:14:43 -05:00
Micah Halter aa712e5c16 refactor(utils)!: remove prefix parameter from astronvim.user_opts 2023-03-10 10:14:43 -05:00
Micah Halter 81081b006d refactor(utils)!: remove astronvim.which_key_register function 2023-03-10 10:14:43 -05:00
Micah Halter 3d2378bfbb refactor!: rename astronvim.user_plugin_opts to astronvim.user_opts 2023-03-10 10:14:43 -05:00
Micah Halter 59ab287a84 fix(utils): rebuild toggle terminals on exit to update cwd 2023-03-10 10:14:43 -05:00
Micah Halter 987aab0eae refactor(plugins)!: complete plugin structure rewrite to use new lazy features 2023-03-10 10:14:43 -05:00
Micah Halter af1002d064 feat: use mappings table to register menu names 2023-03-10 10:14:43 -05:00
Micah Halter 9bba06a1e2 refactor(which-key)!: remove which-key.register abstraction 2023-03-10 10:14:43 -05:00
Micah Halter 60c17d451a feat!: move to new lazy plugin manager 2023-03-10 10:14:43 -05:00
Micah Halter eb3fa4dd1a feat(heirline): add opt in heirline based bufferline 2022-12-19 09:20:18 -05:00
Micah Halter 9a7f225a11 fix(utils): fix get_hlgroup for fully transparent highlight groups 2022-12-19 09:20:18 -05:00
Micah Halter 1762658123 fix(utils): sanitize ANSI codes from shell command output 2022-12-08 09:37:00 -05:00
Micah Halter bf52228db8 fix(plugins): improve command based lazy loading 2022-11-30 12:55:07 -05:00
Micah Halter 4910537a1f fix(heirline): use Heirline hlgroups if exists over lualine 2022-11-27 17:32:47 -05:00
Micah Halter f9754920c3 chore(plugins): lazy load ui plugins on function calls 2022-11-21 08:25:07 -05:00
Micah Halter c6a7e82e2d chore: streamline installation process 2022-11-21 08:25:07 -05:00
Micah Halter b0a291f560 feat(plugins): add hook for lazy load on file open 2022-11-21 08:25:07 -05:00
Micah Halter 1e30355b15 chore(utils): generalize astronvim.notify for async calls without nvim-notify 2022-11-16 09:19:51 -05:00
Micah Halter 28623978cb feat: Add commands for updating Mason packages 2022-11-16 09:19:51 -05:00
Micah Halter f123551d26 chore: simplify astronvim user event definition 2022-11-16 09:19:51 -05:00
Micah Halter 00a703c96e chore: lazy load packer 2022-11-11 17:12:19 -05:00
Micah Halter e37e32c163 chore(plugins): lazy load gitsigns when reading git file 2022-11-11 17:12:19 -05:00
Micah Halter f1a04f21fe fix(utils): make toggle_term_cmd set count 2022-11-11 17:12:19 -05:00
Micah Halter 2a441df6e7 fix(utils): separate toggleterm application terminals 2022-11-09 12:26:42 -05:00
Micah Halter 80f650ab0c chore(utils): improve performance and simplify get_hlgroup 2022-11-04 09:49:57 -04:00
Micah Halter 936efe9fef fix(utils): fix get_hlgroup when transparent background 2022-11-04 08:59:13 -04:00
Micah Halter f2349c532c fix(utils): fix get_hlgroup for groups that are not fully defined 2022-11-03 11:51:05 -04:00
Micah Halter 756b4c07c2 chore(mason-null-ls): use built in automatic setup for null-ls 2022-11-02 11:04:18 -04:00
Micah Halter 6b956bc1ff chore(neo-tree): Add mapping O to open file externally 2022-11-02 11:04:18 -04:00
Micah Halter a891acb261 chore(mason-null-ls): simplify null-ls registration 2022-10-31 14:17:38 -04:00
Micah Halter d3e20344cb chore(utils): get_hlgroup return all properties of highlight group 2022-10-31 14:17:38 -04:00
Micah Halter 304e3e22e0 chore(utils): add missing doc string for default_tbl 2022-10-20 11:16:17 -04:00
Mathew Harman 5b6e3af761 chore(utils): add pcall error message when loading module fails (#1121) 2022-10-17 16:41:29 -04:00
Micah Halter ebe726ca57 feat: add vim.g.icons_enabled option to disable icons in UI 2022-10-17 16:41:29 -04:00
Micah Halter e7eb98e325 fix(updater): fix commands on windows 2022-10-13 14:44:37 -04:00
Micah Halter 8349a6127c feat(status): add component for displaying macro recording status 2022-10-12 10:13:50 -04:00
Micah Halter c06341dea8 chore(status): improve LSP breadcrumbs implementation 2022-10-07 11:27:44 -05:00
Micah Halter 6ff0e72b84 feat: add source selector to neo-tree and clean up some heirline code 2022-10-07 11:27:44 -05:00
Micah Halter 639ad4b604 chore(utils): simplify if statement conditional 2022-10-07 11:27:44 -05:00
Micah Halter f5426f92d9 chore: separate ui icons from lspkind 2022-10-07 11:27:44 -05:00
Micah Halter e704b71f67 refactor(status): move status to utilities and clean up heirline implementation 2022-10-07 11:27:44 -05:00
Micah Halter 7b67fdb831 feat(status): make winbar and statusbar elements clickable 2022-10-07 11:27:44 -05:00
Micah Halter 6ebd5f3b57 feat: unify user interface icons with lspkind and make them configurable by the user 2022-10-07 11:27:44 -05:00
Micah Halter 52ba22bcbb feat(mappings): add mapping to toggle color highlighting from UI menu 2022-10-07 11:27:44 -05:00
Osamu Aoki 7a1e8ed692 feat(mappings)!: add UI menu features
Several new mappings are introduced to control AstroNvim UI features.
They are accessible from Normal mode under the "+UI" which-key menu.

  * Toggle autopairs                          (if module is available)
  * Toggle background
  * Toggle completion                         (if module is available)
  * Toggle signcolumn
  * Change indent setting
  * Change line numbering
  * Toggle spellcheck
  * Toggle URL highlight                     (relocated menu position)
  * Toggle wrap
  * Toggle syntax highlight

For URL highlight, autopairs (nvim-autopairs) and completion (nvim-cmp),
their starting states can be controlled by setting following vim global
variables:

  * vim.g.highlighturl_enabled            (no change with this commit)
  * vim.g.autopairs_enabled             (new feature with this commit)
  * vim.g.cmp_enabled                   (new feature with this commit)
  * vim.g.syntax_on           (`:syntax on` or `:syntax off` commands)

For other vim native features, their corresponding starting states can
be controlled by setting following standard vim options:

  * background
  * signcolumn
  * expandtab
  * tabstop
  * softtabstop
  * softwidth
  * number
  * relativenumber
  * spell
  * wrap
  * syntax

The syntax option and toggling of it also affects treesetter.

Signed-off-by: Osamu Aoki <osamu@debian.org>
2022-10-07 11:27:44 -05:00
Micah Halter 06c211c0f7 feat(status)!: move to heirline and add winbar breadcrumbs 2022-10-07 11:27:44 -05:00
Micah Halter 390b237ad6 refactor!: move lsp util functions to utils folder 2022-10-07 11:27:44 -05:00
Micah Halter d07d9b887a chore: use new nvim_cmd API 2022-10-07 11:27:44 -05:00
Micah Halter ea277fc7c6 feat(plugins): add mason-null-ls plugin for easy setup of null-ls sources 2022-09-23 07:34:47 -04:00
Micah Halter da13a23f90 fix(utils): fix set_mappings bug when called more than once 2022-09-08 08:59:21 -04:00