Commit graph

1623 commits

Author SHA1 Message Date
kylo252
101c683433
[Refactor] Installer v2 with support for backup (#1052) 2021-08-23 17:18:42 +02:00
Jan Vlčinský
cc166d0503
fix telescope.project call in sample config (without ts) (#1380) 2021-08-23 14:06:12 +04:30
Abouzar Parvan
10091859a2
Update config.example.lua 2021-08-23 08:21:17 +04:30
Abouzar Parvan
86796a0a97
Update README.md 2021-08-23 08:20:36 +04:30
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
kylo252
c5c9ae0fb6
[fix]: don't overwrite user's dashboard config (#1366) 2021-08-22 08:35:50 +02:00
kylo252
33640834e4
fix: set runtime directories correctly (#1354)
* fix: set runtime directories correctly

This also simplifies the way to invoke LunarVim to just be:
`nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/init.lua"`

Fixes #1352

* use libuv to get homedir path
2021-08-20 22:59:40 +02:00
Ahmed Khalf
7845b671ec
Add show_hidden option to project module (#1359) 2021-08-20 21:22:35 +02:00
Abouzar Parvan
2bcbed1499
[feature] Move common parts of language server setup to lsp/init (#1355)
* moving common parts of language server setup to lsp/init

* fix formatting
2021-08-20 14:04:02 +02:00
chaeing
85fe093efb
[Feature] switch galaxyline to lualine (#1329) 2021-08-20 13:46:29 +04:30
Ahmed Khalf
5959872307
[Refactor]: consistent update of bufferline offset with nvim-tree (#1351)
* Refactor nvim-tree

* Fix stylua comments

* Delete useless functions

* Remove autocmd and fix tasty's bug

* Fix luacheck

* Fix icon issue

* Fix formatting

* Fix formatting again

* Resolve Tasty's request

* Replace double dashes with blank line
2021-08-20 09:31:18 +02:00
Abouzar Parvan
1f45d1531d
[Bugfix] fix formatter/linter nil issue (#1353)
* fix formatter/linter issue for undefined lang/filetypes

* revrese the order
2021-08-19 16:00:44 +02:00
Binx
0bf6fd68c6
rename settings to configuration in dashboard (#1350) 2021-08-19 13:44:21 +02:00
Abouzar Parvan
a4073e9992
support nix language (#1347) 2021-08-19 13:14:55 +04:30
Phúc Lê Khắc
a190306e47
[Feature]: LSP Fortran (#1342)
* null-ls needs to be pinned as well

* unpin null-ls

* lsp: fortran

Co-authored-by: Abouzar Parvan <abzcoding@users.noreply.github.com>
Co-authored-by: christianchiarulli <chrisatmachine@gmail.com>
2021-08-18 16:44:10 +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
21b621c95a
fix: remove wrongful log entry from null-ls setup (#1341) 2021-08-17 23:38:19 +04:30
kylo252
08c0dca307
[Refactor]: Remove vim-rooter dependency (#1319) 2021-08-17 19:56:59 +04:30
kylo252
335e707b2a
[Feature] Make the rest of the builtins configurable (#1318) 2021-08-17 19:50:18 +04:30
Abouzar Parvan
1cc2452eb7
[Bugfix] ignore jdtls to fix CI (#1339) 2021-08-17 07:37:11 +00:00
christianchiarulli
c76cc0ea8a fix java again, this file cannot be formatted, don't ask me why, because I have no idea 2021-08-16 20:10:53 -04:00
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
dklymenk
ae1dea8b64
[Feature] Expose null ls setup to user config (#1323)
* expose null_ls setup to user config

* add new config to example configs

* fix tabs with stylua

* change else statement in the example
2021-08-16 15:31:03 +02: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
Abouzar Parvan
944dd48935
fix clojure language server not starting up (#1330) 2021-08-16 11:22:40 +04:30
kylo252
1fbc34cf1d
Fix slow CI by installing a neovim binary directly (#1059) 2021-08-15 20:31:37 +04:30
kylo252
6eb75c5678
[Refactor] Clean-up redundant module-load checks (#1011) 2021-08-15 20:08:47 +04:30
Abouzar Parvan
f36fd1907f
support for puppet using lspinstall (#1322) 2021-08-15 03:08:42 +04:30
Luc Sinet
6e0f56f09e
[Bugfix] Support extending null builtin args (#1317) 2021-08-15 00:32:17 +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
Abouzar Parvan
ae118c5afc
fix commentstring for elixir files (#1321) 2021-08-15 00:17:41 +04:30
kylo252
fe55935c05
feat: use telescope to quickly open lunarvim files (#1310) 2021-08-14 16:46:38 +04:30
Marcelo Cerri
a42cde2638
Add command mode key mapping table (#1306) 2021-08-14 16:46:08 +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
kylo252
988c74ec56
feat: Add pre-commit hook for linting and formatting (#1132)
* feat: Add pre-commit hook for linting and formatting

* format with prettier
2021-08-13 12:11:18 +02:00
Pasi Bergman
6bbce4ee07
fix: use correct highlight group with LvimInfo (#1302) 2021-08-12 17:28:45 +04:30
kylo252
03b7da74ee
Fix formatting according to style-guide (#1057) 2021-08-12 11:31:31 +02:00
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
Ahmed Khalf
abf7fee048
Use rounded borders for packer (#1296) 2021-08-12 00:48:49 +03:00
kylo252
fb388d7ff8 fix map_complete option 2021-08-11 17:39:06 +02:00
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
Ahmed Khalf
5a7630cac7
Add spell checking to git commit filetype (#1291) 2021-08-11 14:00:41 +02:00
Abouzar Parvan
b26b61e304
fix nil exception for langs without providers (#1290) 2021-08-11 14:50:01 +04:30
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