Commit graph

234 commits

Author SHA1 Message Date
devtoi
d85584d09f
[Refactor/Bugfix] move on_config_done callbacks to relevant setup() (#1175)
* Make autopairs config consistent with others

* Fix two typos for autopairs

* Remove extranous autopairs code. Return on setup

* Remove extranous else for autopairs completion confirmation

* Move on_config_done callbacks to setup functions.

* Add on_config_done completion for builtins lacking a config function

* enables galaxyline callbacks to work properly

* Add modules for more builtins

* Finish streamline of config function in plugin setup

* Fix double use of which_key/wk

* Fix erroneous remove of functionality in autopairs completion

* consistency fixes

* Work around telescope not found at config time

* Match plugin definition of project and lualine with others

* fix: restore config callback syntax

Co-authored-by: Johan Melin <johan.melin@paradoxinteractive.com>
Co-authored-by: rebuilt <memoryman51@hotmail.com>
Co-authored-by: Luc Sinet <luc.sinet@gmail.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-08-22 20:03:19 +02:00
chaeing
85fe093efb
[Feature] switch galaxyline to lualine (#1329) 2021-08-20 13:46:29 +04:30
Ahmed Khalf
b9b9c69615
[Refactor]: Remove vim-rooter and smart-cwd; then use project.nvim (#1315)
* Replace vim-rooter with project.nvim

* Implement stylua format

* Remove smart_cwd

* Implicitly update nvim-tree dir when project active

* Link datapath to cache

* Fix stylua

* Fix lint

* Fix telescope bug

* Fix telescope dependency

* Fix telescope once and for all

* Fix telescope once again
2021-08-18 01:34:26 -04:00
kylo252
335e707b2a
[Feature] Make the rest of the builtins configurable (#1318) 2021-08-17 19:50:18 +04:30
kylo252
6eb75c5678
[Refactor] Clean-up redundant module-load checks (#1011) 2021-08-15 20:08:47 +04:30
abzcoding
4fd72b1be2 Revert "Merge pull request #1294 from kylo252/autopairs-refactor"
This reverts commit d71c3280c8, reversing
changes made to a334420381.
2021-08-12 12:05:54 +04:30
kylo252
d512b57918 allow disabling autopairs completely 2021-08-11 17:34:16 +02:00
kylo252
1b5730d511 feat: make autopairs configurable 2021-08-11 17:29:20 +02:00
christianchiarulli
fc9090f64b remove astronauta 2021-08-10 15:07:35 -04:00
Abouzar Parvan
4f47e6cfe0
pin astronauta till we figure out the root cause (#1282) 2021-08-10 22:06:21 +04:30
kylo252
405423108f
feat: Add an async logger using plenary (#1207)
Co-authored-by: rebuilt <memoryman51@hotmail.com>
2021-08-09 19:02:37 +02:00
Chris
f3064248a0 new event for vsnip 2021-08-08 13:38:26 -04:00
rebuilt
3ccd5dbc8c bufferline broke because the added active toggle will always be false. Set it in default_config to fix behavior 2021-08-06 04:04:21 +02:00
christianchiarulli
20a4da5583 ability to toggle bufferline 2021-08-05 15:50:09 -04:00
Abouzar Parvan
82f7bbb6f9
lazy loading vim-rooter might cause some issues
because if FindRootDirectory not being found
2021-08-04 20:24:31 +04:30
kylo252
4c3c3f3885
feat: add lvim.lsp.smart_cwd (#1218)
- Enable querying the language-server for the `root_dir`
- Use `root_dir` to set the current working-directory (CWD)
- Make vim-rooter configurable and add an option to disable it

Inspired by "ahmedkhalf/lsp-rooter.nvim"
2021-08-03 12:10:54 -04:00
Rafael Madriz
48295ec644
no need to add root patterns, airblade/vim-rooter#123 got merged 2021-07-28 16:12:17 -03:00
Chris
9611a50acc just use tf 2021-07-28 14:36:41 -04:00
christianchiarulli
2ec446e21e don't use this plugin strategy because it makes packer sad 2021-07-28 00:02:40 -04:00
Rafael
0a16235cec
include package-lock.json & package.json in root patterns (#1133)
* Just adds package.json and package-lock.json for the root patterns of
  vim-rooter

* The other ones are the default patterns, see `:help g:rooter_patterns`
2021-07-27 16:31:04 -04:00
Chris
6d3274dfec remove comment 2021-07-26 18:31:53 -04:00
christianchiarulli
9542b7b143 compatible 0.5 treesitter 2021-07-26 00:34:40 -04:00
christianchiarulli
e6f4b20346 autoindent issue solved finally 2021-07-25 23:28:47 -04:00
Christian Chiarulli
98f8a77819
New contract (#1080)
Changes to the global config object

O is now lvim
user_plugins is now plugins
user_autocommands is now autocommands
No more lang specific plugins

Null-ls has replaced both formatter.nvim and nvim-lint
2021-07-24 21:17:11 -04:00
devtoi
796148fb00
[Feature]: Add callbacks for plugins with a config entry for packer (#1042) 2021-07-21 01:58:29 +04:30
Abouzar Parvan
e50a586a3a
toggle() already follows the file, no need for find_file() (#1020) 2021-07-19 03:17:49 -04:00
Abouzar Parvan
047f641b05
reverting due to #1018 2021-07-19 04:35:33 +00:00
Abouzar Parvan
e264bfe06d
unpin nvim-tree.lua 2021-07-18 19:36:56 +00:00
Luc Sinet
6f9c521e22
Split plugin loading logic from the configuration (#796) 2021-07-18 18:08:14 +00:00
christianchiarulli
cabc218c64 this may break things if not specified like this 2021-07-16 18:36:43 -04:00
Luc Sinet
836286798e
[Feature] add linter support (#982) 2021-07-16 18:30:38 -04:00
Abouzar Parvan
fe48ed9ef9
add scala and sbt support (#986) 2021-07-16 18:26:29 -04:00
christianchiarulli
f58782563e user toggleterm instead of fterm 2021-07-14 23:15:12 -04:00
rebuilt
a20e04c289
Autopairs event trigger (#929) 2021-07-14 22:11:52 +04:30
christianchiarulli
359b6fd8e4 protected call for formatter.nvim 2021-07-13 01:08:03 -04:00
christianchiarulli
eceb656b4b poc with local prettier working 2021-07-13 00:48:37 -04:00
christianchiarulli
16d67ecf76 refactor, fix galaxyline 2021-07-12 21:59:16 -04:00
Abouzar Parvan
b98646ce7a
we should install O.user_plugins (#905) 2021-07-13 01:51:49 +00:00
christianchiarulli
cbc301b76a Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-12 21:11:50 -04:00
christianchiarulli
2423fcdc90 refactor single file 2021-07-12 21:11:43 -04:00
Aaron Keisler
57893b3988
fix: comment typo (#902) 2021-07-13 00:16:25 +00:00
christianchiarulli
476f7bb22f poc for refactor into one file 2021-07-12 19:30:07 -04:00
Chris
7677f220b7 vim-rooter is essential 2021-07-12 11:58:30 -04:00
Chris
d9ee4e00e9 don't lazyload telescope (breaks c-j c-k navigation) 2021-07-10 19:35:54 -04:00
Abouzar Parvan
93379a2977
avoiding OCD attack with the help of folke/todo-comments (#839) 2021-07-10 17:34:20 -04:00
christianchiarulli
5c76003228 don't lazy load compe and autopairs autoindent issue 2021-07-10 16:10:03 -04:00
christianchiarulli
4b0304d9bd remove lazyload dap 2021-07-10 15:34:59 -04:00
Abouzar Parvan
0f7c876e93
WIP: using formatter.nvim instead of neoformat (#781) 2021-07-10 14:18:28 -04:00
Chris
bec8e77b47 refactor lspinstall 2021-07-10 13:27:52 -04:00
Chris
f9389d2282 refactor plugins 2021-07-10 10:51:53 -04:00