Commit Graph
86 Commits
Author SHA1 Message Date
Micah HalterandJaeshii b7f0830da4 feat!: add more options to diagnostics toggling
Co-authored-by: Jaeshii <56745535+Jaeshii@users.noreply.github.com>
2023-03-10 10:14:43 -05:00
Micah Halter f710f47b62 refactor!: rename core module to astronvim 2023-03-10 10:14:43 -05:00
luxus 416d6db568 fix(lsp): lua lsp is now called lua_ls 2023-03-10 10:14:43 -05:00
Micah Halter 3f9406462e refactor!: reorganize utility functions to lazily load 2023-03-10 10:14:43 -05:00
Micah Halter bced9e7daa refactor(plugins)!: move default configuration outside of lazy 2023-03-10 10:14:43 -05:00
Micah Halter b19e7f835b refactor!: move to separate astronvim colorscheme plugin 2023-03-10 10:14:43 -05:00
Micah Halter 43dce383cc chore(user_example): add link to split up config example 2023-03-10 10:14:43 -05:00
Micah Halter be651e575b chore(user_example): add lazy configuration example 2023-03-10 10:14:43 -05:00
Micah Halter 8fedf8a1ba feat(heirline): configure breadcrumbs separator like others 2023-03-10 10:14:43 -05:00
Micah Halter b13b21d485 refactor(lsp)!: lsp.setup_handlers only uses the table notation 2023-03-10 10:14:43 -05:00
Micah Halter 0ae99eaf95 fix(plugins)!: user jayp0521 renamed to jay-babu 2023-03-10 10:14:43 -05:00
Micah Halter 5e87ab8af2 refactor(alpha): remove header option and simplify alpha config 2023-03-10 10:14:43 -05:00
Micah Halter 50eb4cfa42 chore(user_example): add which-key menu name example 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 2841ae3a60 chore(user_example): remove extra spaces 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 d2a36a2aa5 refactor!: rename default_theme to astronvim and default_theme options to astronvim_theme 2023-03-10 10:14:43 -05:00
Micah Halter a1c8ee3e6e refactor(configs)!: remove plugin specific user config abstractions 2023-03-10 10:14:43 -05:00
Micah Halter 79ebcfda5f refactor!: rename lsp.server-settings to lsp.config in user configuration 2023-03-10 10:14:43 -05:00
Micah Halter 47036d4080 feat!: Replace bufferline with heirline by default 2023-03-10 10:14:43 -05:00
Micah Halter c03db4fa92 refactor!: remove AstroReload because it's buggy and not supported by lazy 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 40b54fce54 fix(updater): only treat branch as nightly if not set to main 2023-01-10 13:37:05 -05:00
Micah Halter 1fcdc06f8d refactor(heirline): improve user facing customization options 2022-12-19 09:20:18 -05:00
Micah Halter e96d19bd5a chore(user_example): add example for auto installing debuggers 2022-12-07 11:43:26 -05:00
Micah Halter 60d1717261 feat(ui): add <leader>uN to enable/disable notifications when using ui toggles 2022-11-04 08:59:13 -04:00
Micah Halter 782f87040c chore(user_example): update luasnip user example 2022-10-31 14:17:38 -04:00
Minh Vu f648439ad6 chore(user_example): remove extra space in comment 2022-10-31 14:17:38 -04:00
Maxime Brunet 71d85c78a9 feat(lsp): support format_on_save whitelist 2022-10-20 11:16:17 -04:00
Micah Halter 5b68521c21 chore(default_theme): clean up organization 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 4df157ce1f feat: allow disabling auto formatting for filetypes and add <leader>uf to toggle auto format 2022-10-17 16:41:29 -04:00
ypli0629 69a07004ff chore(user_example): add default lsp format timeout 2022-10-17 16:41:29 -04:00
Malte Voß 4931b296f1 chore(user_example): fix typo of the word function 2022-10-12 10:13:50 -04:00
Micah Halter b1ba6b558e chore(user_example): set spell to false in user_example 2022-10-10 12:38:28 -05:00
Micah Halter 53d210d390 feat(lsp): add new format_on_save option to lsp.formatting user configuration 2022-10-07 11:27:44 -05:00
Micah Halter 5f37f4267f chore(plugins)!: remove mason-tool-installer 2022-10-07 11:27:44 -05:00
Micah Halter ead4b5541e feat(highlights): add a highlights.init table to apply highlights to all themes 2022-10-07 11:27:44 -05:00
Micah Halter db2bced19d feat: add more toggle options to toggling diagnostics 2022-10-07 11:27:44 -05:00
Micah Halter 1e5fae6139 fix(user_example): fix default_theme highlight issue 2022-10-07 11:27:44 -05:00
Micah Halter 857546e5f6 chore: improve lsp formatting filtering 2022-10-07 11:27:44 -05:00
Micah Halter 35105ac1b5 feat: allow for disabling diagnostics on startup and simplify the toggling 2022-10-07 11:27:44 -05:00
Micah Halter 4a23f0e1ee feat(lsp): use new formatting filter features 2022-10-07 11:27:44 -05:00
Micah Halter 63043affee feat(lsp): make formatting on save default behavior 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 c72e503588 refactor(default_theme)!: deprecate diagnostic_style option in favor or just overriding highlights 2022-10-07 11:27:44 -05:00
Micah Halter fd81c11e90 refactor(which-key)!: rename which-key.register_mappings to just which-key.register 2022-10-07 11:27:44 -05:00
Micah Halter 32c934ceab fix(lsp): migrate resolved_capabilities to server_capabilities 2022-10-07 11:27:44 -05:00
Micah Halter 294e99657f chore(user_example): comment out non-default behavior from user_example 2022-09-27 14:25:33 -04:00
Micah Halter f6bd79eeec chore(user_example): extend user example to make things more clear 2022-08-10 11:08:13 -04:00