Commit graph

110 commits

Author SHA1 Message Date
Binx
0bf6fd68c6
rename settings to configuration in dashboard (#1350) 2021-08-19 13:44:21 +02:00
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
rebuilt
8becb83eeb
Check if emmet is active. Enable emmet completion if emmet language server is active (#1335)
* Check if emmet is active.  Enable emmet completion if it is active

* move emmet check after the check for a space character

* Check if emmet is active for the current buffer only
2021-08-16 19:46:36 +03:00
Luc Sinet
9b36872d88
[Feature] Encapsulate interface logic (#1320)
* Provide a utility function for aligning text

* Replace lvim banner with one using only ASCII chars

* Use strings.format instead of .. operator

* Center text in the popup based on its dimentions

* Minor improvements

* Provide a popup factory function

* Add function documentation

* Improve text alignment

* Print marker only if provider list is not empty

* Format client capabilities as list

* Pretty format lsp client capabilities

* Add a metatable to popup.lua

* Improve rendering when no lsp is available

* Take cmdheight into acount when computing popup size and pos

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-08-16 16:07:46 +03:00
kylo252
6eb75c5678
[Refactor] Clean-up redundant module-load checks (#1011) 2021-08-15 20:08:47 +04:30
Marcelo Cerri
0fbf66e379
Add a new option to show the mode name in galaxyline (#1303) 2021-08-15 00:26:37 +04:30
kylo252
fe55935c05
feat: use telescope to quickly open lunarvim files (#1310) 2021-08-14 16:46:38 +04:30
Pasi Bergman
9c9bcb1e0a
fix: lviminfo highlight match fix (#1316) 2021-08-14 14:43:48 +03:00
Luc Sinet
70d139ac27
[Refactor/Bugfix] Improve null ls handler (#1277) 2021-08-14 01:02:56 +04:30
Ahmed Khalf
53869f00be
Fix nvimtree quit to update bufferline (#1312) 2021-08-13 16:16:04 -04:00
Pasi Bergman
6bbce4ee07
fix: use correct highlight group with LvimInfo (#1302) 2021-08-12 17:28:45 +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
Luc Sinet
d71c3280c8
Merge pull request #1294 from kylo252/autopairs-refactor
feat: make autopairs configurable
2021-08-12 09:28:14 +02:00
Andrew Fridley
a334420381
Please... reverse history and cycle next telescope bindings (#1276) 2021-08-12 10:19:37 +04:30
kylo252
fb388d7ff8 fix map_complete option 2021-08-11 17:39:06 +02:00
kylo252
1b5730d511 feat: make autopairs configurable 2021-08-11 17:29:20 +02:00
Ahmed Khalf
5a7630cac7
Add spell checking to git commit filetype (#1291) 2021-08-11 14:00:41 +02:00
Abouzar Parvan
333b103425
Fix lunarvim info nil issue (#1289)
* fix lunarvim info nil issue

* fix num_caps counting issue
2021-08-11 13:11:36 +03:00
Abouzar Parvan
47915dd33e
<CMD> mapping must end with <CR> 2021-08-11 12:03:58 +04:30
Abouzar Parvan
cbbaf010f6
luaString highlight group is not always available 2021-08-11 11:36:32 +04:30
Abouzar Parvan
abbde6c138
remove useless print for LunarVim info 2021-08-11 11:32:33 +04:30
Abouzar Parvan
0a1c76eb6a
fix formatting for which-key.lua (#1288) 2021-08-11 11:27:10 +04:30
Pasi Bergman
e7c6275879
[Refactor] LunarVim Info UI (#1281)
* refactor: lunarvim info ui

* refactor: lunarvim info ui - remove close hint, add highlighting

* refactor: lunarvim info ui - remove TODO
2021-08-11 01:54:53 -04:00
tuxflo
2fcb64ac56
change no highlight behavior (#1285)
with `<cmd>let @/=""<CR>` its not possible to use `n`,`N` or stuff like `gcn` anymore because the last search is overwritten. With `:nohlsearch` this is not the case.
2021-08-10 22:56:25 -04:00
christianchiarulli
a6a10e3fdb bring back behavior we used to get from astronauta 2021-08-10 15:01:26 -04:00
Ahmed Khalf
6828787780
Fix window borders for lunarvim info (#1280) 2021-08-10 19:29:05 +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
Pasi Bergman
625df947dc
[Feature] Add LvimInfo command (#1269)
* feature: add LvimInfo command

* Move :LvimInfo to core/commands.lua
2021-08-09 10:59:27 -04:00
Abouzar Parvan
93b37d6e86
fix formatting for compe (#1266) 2021-08-08 22:51:09 +04:30
Chris
f3064248a0 new event for vsnip 2021-08-08 13:38:26 -04:00
Chris
3da49e4be4 tab can cycle through pum, insert a tab, and jump through snippets, what more could you want? 2021-08-08 13:34:59 -04:00
Abouzar Parvan
1484e05682
better compe support for latex 2021-08-08 20:51:24 +04:30
Abouzar Parvan
6aab0ea8ac
fix compe for latex 2021-08-08 13:26:33 +04:30
ashincoder
730542a47d
Added space after plug icon (#1252) 2021-08-07 09:23:25 +00:00
kylo252
47ebd70817
Add LunarVim info panel (Experimental) (#1241)
* feat: lunarvim info (Experimental)

* Add missing providers info

* Use nvim api directly to create the popup

* width tweaks
2021-08-06 16:27:19 +02:00
kylo252
c8d1b95712
Merge pull request #1250 from kylo252/fixup
chore: remove now-redundant utility function
2021-08-06 13:54:25 +02:00
grvxs
9fc6a2e1cd
fix: typos in lua/ 2021-08-06 16:50:25 +05:30
kylo252
990bb622e0 chore: remove now-redundant utility function 2021-08-06 10:47:21 +02: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
Abouzar Parvan
9f35102864
dap.stop is deprecated, use dap.close instead (#1247) 2021-08-06 00:57:51 +04:30
christianchiarulli
8daeb80ac3 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-08-05 15:50:13 -04:00
christianchiarulli
20a4da5583 ability to toggle bufferline 2021-08-05 15:50:09 -04:00
Abouzar Parvan
106c9cad0d
use_decoration_api has been removed from gitsigns (#1245) 2021-08-05 19:12:16 +00:00
christianchiarulli
00d4ebc165 <leader>lq opens quickfix 2021-08-05 12:26:29 -04:00
Chris
97fa3d9ec9 update for lunarvim org 2021-08-04 15:20:09 -04:00
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
Abouzar Parvan
b608b08ff3
fix compe tab completion issue (#1217) 2021-08-03 12:54:23 +04:30
tafryn
c0a653a0cf
Allow user's to define their own nvim-tree bindings (#1181) 2021-08-03 05:43:57 +00:00
William Goulois
dc3b47b7e7
[Feature]: Add possibility to focus nvimtree instead of toggle (#1074) 2021-08-03 04:54:57 +00:00