Commit graph

156 commits

Author SHA1 Message Date
kylo252
d01ba08eae
refactor: auto-generate language configuration (#1584)
Refactor the monolithic `lvim.lang` design into a more modular approach.

IMPORTANT: run `:LvimUpdate` in order to generate the new ftplugin template files.
2021-10-03 16:13:46 +02:00
kylo252
3e1cd1ec23
fix: add missing lsp.log entry in log_viewer (#1666) 2021-10-03 14:32:09 +02:00
kylo252
a273c46eee
feat: add LvimUpdate command (#1634)
* feat: add prelimenary LvimUpdate command

* feat: use native process management

* feat: add a telescope change-log utility

* fix: update readme to include the new command
2021-10-01 13:27:06 +02:00
Subho Banerjee
8ec92c0420
Feature: Define signs for Dap (#1642) 2021-09-30 11:01:59 +03:30
Xavier Young
35d5615ecc
fix: can't open lvim log file cause by lvim.log.viewer.cmd (#1638) 2021-09-30 07:42:10 +02:00
Abouzar Parvan
238bbf18ac
fix small bugs in nvim-tree (#1629) 2021-09-26 21:11:44 +03:30
Abouzar Parvan
62b805448d
migrate nvim-tree to setup syntax episode 4 😢 (#1627) 2021-09-26 20:06:34 +03:30
Abouzar Parvan
1d96533f17
lsp_diagnostics is part of the nvim-tree setup now (#1623) 2021-09-26 13:33:54 +03:30
Abouzar Parvan
8009ff4fee
fix: use the new nvim-tree syntax (#1619) 2021-09-26 08:07:06 +02:00
Abouzar Parvan
64a5964b54
update nvim-tree based on the refactor (#1617) 2021-09-25 20:47:50 +03:30
kylo252
810fc26fdf
fix: adjust layout after a regression in telescope (#1615) 2021-09-25 18:39:12 +02:00
Abouzar Parvan
9b76a13512
watch_index is deprecated, use watch_gitdir instead (#1614) 2021-09-25 10:35:08 +03:30
Chase Colman
fbfd8c1fc3
feature: allow cmp confirm options to be configurable (#1523) 2021-09-21 08:54:47 +02:00
xeluxee
87d3610291
[Bugfix]: latex completion: insert { instead of ( when completing (#1566) 2021-09-17 21:09:26 +04:30
chaesngmin
390f277b70
fix(dashboard): hide version when no tag found (#1572) 2021-09-17 05:14:31 -07:00
chaesngmin
254ab2102b
[Feature] Add lunarvim latest release tag to dashboard (#1436)
* feat: add lunarvim latest release tag to dashboard

* Add a function to center-align text

Rename align to align_left
Rename shift_left to shift_right

* refactor(dashboard): remove unnecessary comment

* refactor(dashboard): use `home_dir` variable for `lv_path`

* refactor(dashboard): use $LUNARVIM_RUNTIME_DIR for lv_path

* feat(bootstrap): add fn that returns lvim version

* refactor(dashboard): use version, lunarvim dir with bootstrap fns

* build: add global get_version() from bootstrap

Co-authored-by: Luc Sinet <luc.sinet@gmail.com>
2021-09-17 04:13:52 -07:00
kylo252
9257e68c05
fix: use the correct API for the log-viewer (#1564) 2021-09-17 10:59:35 +04:30
Christian Chiarulli
d610502f91 fix: dashboard footer seems to have disapeared 2021-09-16 10:15:30 -04:00
kylo252
e22f9a21c1
fix: more robust reloading (#1556) 2021-09-16 12:28:32 +04:30
Abouzar Parvan
df0da6fc75
[bugfix] Update lualine according to the breaking changes (#1558) 2021-09-15 23:41:21 +04:30
Christian Chiarulli
f0b30f0a83 fix: no preselect for up/down, c-j/c-k and tab/s-tab 2021-09-14 01:33:40 -04:00
kylo252
8eed75d67f
refactor: use more flexible paths (#1381) 2021-09-13 11:28:15 +02:00
Christian Chiarulli
ac32f2e64d fix: move setup function outside of config function 2021-09-09 09:25:12 -04:00
luetage
0834517008
Show treesitter icon only with supported filetype (#1512) 2021-09-08 20:43:30 -04:00
Christian Chiarulli
9ece2e5369
feat: compe -> cmp (#1496) 2021-09-07 19:23:14 -04:00
Abouzar Parvan
151684bba1
there was a weird situation that caused lualine msg to turn boolean instead of table (#1492) 2021-09-06 22:53:41 +04:30
Abouzar Parvan
e401829193
[BUGFIX] don't show table address in lualine (#1477) 2021-09-05 18:33:58 +04:30
Luc Sinet
8a168ed877
Revert back buffer bindings (#1458) 2021-09-04 00:40:48 +04:30
#!/bin/genesis
d5d47d4d7a
[Feature]: Add new which-key command for switching to the last buffer (#1440)
* Add new which-key command for switching to last buffer

* chore(whichkey) Rework buffer descriptions

Co-authored-by: Luc Sinet <luc.sinet@gmail.com>
2021-09-03 18:44:03 +02:00
Abouzar Parvan
758ea6d07b
use <leader>gd to see git diff with previous head (#1426) 2021-08-30 17:20:02 +04:30
Christian Chiarulli
17e65a99fe use netrw when opening directory 2021-08-28 09:45:42 -04:00
kylo252
23952f1443 Fix missing "HOME" variable errors (#1415)
Co-authored-by: MarcSchaetz <marc@schaetz.info>
2021-08-27 21:06:50 +02:00
Christian Chiarulli
df7c3cb8f0 q to quit quickfix when focused 2021-08-27 21:06:50 +02:00
Christian Chiarulli
33af0668ba format 2021-08-27 21:06:50 +02:00
Christian Chiarulli
a0fd11ea08 use styles.lua rather instead of editing options directly 2021-08-26 22:54:15 -04:00
Christian Chiarulli
7aa079d74a disable nvimtree and outline for lualine 2021-08-26 22:40:24 -04:00
kylo252
27679f988f
[Refactor]: only allow a single logger (#1405) 2021-08-26 23:02:16 +04:30
kylo252
5b94e3cee2
fix logging when plenary is not available (#1390) 2021-08-26 12:49:29 +02:00
chaeing
291c8bb5bd
[Refactor] Lualine component conditions (#1394) 2021-08-26 11:50:04 +04:30
Luc Sinet
00b895d9e9
[Feature] Encapsulate config logic (#1338)
* Define core/builtins, streamline status_color interface

* Encapsulate configuration in its own module

* Add fallback to lv-config.lua

* Rectify settings loading order to allow overriding vim options

* Move default-config into config/ module

* replace uv.fs_stat with utils.is_file
2021-08-25 07:47:48 +02:00
chaeing
378c1c3eb5
[Feature] enhance lualine config (#1372) 2021-08-24 11:19:18 +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
Ahmed Khalf
7845b671ec
Add show_hidden option to project module (#1359) 2021-08-20 21:22:35 +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
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