Commit graph

1147 commits

Author SHA1 Message Date
kylo252
7c96c45151
refactor(info): new layout with less clutter (#1809) 2021-10-20 12:56:02 +03:30
xeluxee
92c07ed89f fix(cmp): fix <C-j> and <C-k> keybindings not working 2021-10-16 20:36:21 +02:00
Subho Banerjee
281c54ba55
[Bugfix]: Allow user autocmds (#1776)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-10-16 12:03:17 +02:00
kylo252
ef41a3d24e
feat: better telescope integration (#1702) 2021-10-15 16:33:34 +02:00
kylo252
f87416c141
fix(null-ls): add common lsp-setup hooks (#1763) 2021-10-14 18:58:56 +02:00
Robin Kautz
daa0b24a50
[Bugfix]: fixes custom autocommands not working (#1775) 2021-10-14 18:32:29 +02:00
Chase Colman
4b0ce90a95
fix(plenary): restore impatient caching for plenary (#1768) 2021-10-14 07:03:54 +02:00
Chase Colman
9e18c16b2b
fix(config/log): show error in config instead of hiding (#1751) 2021-10-12 17:33:41 +02:00
James Walmsley
5deb0e57ce
bugfix: Ensure lvim table is valid before calling Log:warn() (#1742)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-10-12 17:12:55 +02:00
Abouzar Parvan
3dc24cd0c3
[Feature] use Comment.nvim instead of nvim-comment (#1736) 2021-10-11 20:10:59 +03:30
Abouzar Parvan
965ea4bbb9
fix: correct floating window position in Neovim 0.6 nightly (#1732) 2021-10-11 20:05:43 +03:30
Abouzar Parvan
fdec599954
fix: core.telescope has migrated to lvim.core.telescope
Fixes #1739
2021-10-11 11:53:30 +03:30
kylo252
52b7455741
feat: add an independent lvim namespace (#1699) 2021-10-10 21:07:41 +02:00
Abouzar Parvan
e2c85df440
fix: anything not in setup should be set using zero and one (#1733) 2021-10-10 14:25:38 +03:30
Abouzar Parvan
8c03df505f
fix: nvim-tree ls_disagnostics has been replaced with diagnostic (#1731) 2021-10-10 14:04:06 +03:30
rebuilt
c44550249b
fix(nvimtree): change 0 and 1 values to true/false (#1728) 2021-10-10 11:29:01 +03:30
rebuilt
65f165011a
fix(auto-pairs): disable lazy loading for auto-pairs (#1729) 2021-10-10 11:11:35 +03:30
Abouzar Parvan
596db66c7f
fix: don't hide duplicate snippets 2021-10-10 00:30:03 +03:30
xeluxee
ba5de3c833
feat(cmp): make popupmenu formatting options configurable (#1718) 2021-10-09 23:58:00 +03:30
Chase Colman
82b7a35858
fix(cmp/autopairs): prevent out of bounds jump and re-enable jump after confirm (#1708) 2021-10-09 20:47:01 +02:00
Abouzar Parvan
484c618d09
feat: support nvim-cmp floating menu highlights (#1719) 2021-10-09 17:51:32 +03:30
Luc Sinet
b524100f01
feat: support wildcard filetypes for null-ls providers (#1447)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-10-09 13:45:34 +02:00
kylo252
efd82c8756
feat: configure multiple filetypes per provider (#1725) 2021-10-09 13:39:15 +02:00
kylo252
195b07a464
fix(lsp): use correct check for formatter override (#1726) 2021-10-09 13:38:35 +02:00
Abouzar Parvan
5fef931d87
fix: move jsonls commands under setup (#1685) 2021-10-09 08:03:23 +02:00
Xavier Young
e2df61f256
fix(telescope): prompt position when find/grep LunarVim files (#1711) 2021-10-09 07:55:45 +02:00
Abouzar Parvan
85e7b7804a
fix: don't use the cmp floating window (#1715) 2021-10-08 22:24:55 +03:30
Chris Dawkins
a814ea2e14
fix: correct variable names in NvimTree setup table (#1710)
Co-authored-by: chris <chris@dev>
2021-10-08 09:00:05 +02:00
kylo252
f4899e3165
fix: register null-ls providers per filetype (#1709) 2021-10-08 08:57:11 +02:00
kylo252
c0e3c8d43a
feat(lsp): handle user configuration in setup() (#1707) 2021-10-07 17:47:53 +02:00
Abouzar Parvan
0ad60e90a9
[Feature] better code action prompt and auto show codelens actions (#1698) 2021-10-06 02:07:23 +03:30
Subho Banerjee
5fe7b7ad4d
feat(lsp): make lsp buffer-mappings configurable (#1687) 2021-10-05 21:29:58 +02:00
dklymenk
76bee64f17
fix: return null ls setup user config (#1683) 2021-10-04 23:09:40 +02:00
Abouzar Parvan
8fb404f7d6
fix: bring back NlspConfig completion (#1682) 2021-10-04 15:48:35 +03:30
Abouzar Parvan
6443f156d7
fix: the virtual_text charachter causes issues (#1681) 2021-10-04 14:17:27 +03:30
Abouzar Parvan
b1ae1e9bfb
feat: better kubernetes support (#1679) 2021-10-04 14:10:42 +03:30
Abouzar Parvan
48472a1bf0
feat: better default json schemas (#1678) 2021-10-04 14:04:57 +03:30
Christian Chiarulli
47f68f4873
feat: q quits lsp-installer (#1674) 2021-10-04 07:15:26 +00:00
kylo252
2104e38645
fix: restore the ability to override formatting (#1677) 2021-10-04 08:12:25 +02:00
kylo252
1078f43a51 fix: add packer-install hook on lvim-update 2021-10-03 23:02:42 +02:00
kylo252
7a939ad771 fix: add missing table entry (#1670) 2021-10-03 22:48:41 +02:00
kylo252
efd8f589b7
fix: add deprecation notice for lvim.lang.foo.lsp (#1670) 2021-10-03 22:23:13 +02:00
Abouzar Parvan
48a6d859f3
fix: return correctly for overridden lang servers (#1669) 2021-10-03 21:02:11 +02:00
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
Abouzar Parvan
1e0d0181d5
feat: make lsp highlight color configurable (#1659) 2021-10-02 18:04:38 +03:30
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
9740617292
barbar is fixed upstream 2021-09-29 09:31:45 +03:30
Abouzar Parvan
6b79e00cb0
pin barbar to fix #1636 2021-09-28 23:59:50 +03:30
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
Subho Banerjee
61b56a7bb1
fix: Adding Diff* highlight groups in onedarker (#1594)
Fixes #1576
2021-09-26 10:50:50 +03:30
Abouzar Parvan
464f092ada
Update highlights.lua 2021-09-26 10:47:42 +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
Abouzar Parvan
ddd86dd2b9
Fix the lua goto definition bug and add better common capabilities (#1604) 2021-09-23 20:00:20 +03:30
Abouzar Parvan
edeadaf05d
[Bugfix] instead of wrapping the gl diagnostics, split them (#1595) 2021-09-22 10:56:52 +03:30
kylo252
938e0f88bc
fix: remove outdated cache files on install (#1591) 2021-09-21 11:56:24 +02:00
Abouzar Parvan
55d9a15a08
[Bugfix] Wrap the gl floating window diagnostics (#1588) 2021-09-21 13:29:32 +04:30
Chase Colman
fbfd8c1fc3
feature: allow cmp confirm options to be configurable (#1523) 2021-09-21 08:54:47 +02:00
Abouzar Parvan
dbb958289b
add support for local stylelint (#1586) 2021-09-20 14:15:22 +04:30
Abouzar Parvan
65392c553e
feature: vim.api.diagnostics has been moved to vim.diagnostics in neovim head (#1573) 2021-09-18 13:23:30 +04:30
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
Luong Vo
eab0369ae8
fix: missing default configuration for update_in_insert (#1550) 2021-09-17 11:04:03 +04:30
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
168eb232d1
feature: make peek function work in neovim head and 0.5 (#1559) 2021-09-15 23:42:57 +04:30
Abouzar Parvan
df0da6fc75
[bugfix] Update lualine according to the breaking changes (#1558) 2021-09-15 23:41:21 +04:30
chaesngmin
0cbc1e9425
feat(lualine): pin commit to avoid breaking config (#1546) 2021-09-14 18:06:50 +02:00
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
414777077f
fix: use correct install path for packer (#1540) 2021-09-13 17:22:27 +02:00
kylo252
bb130d669b fix: don't re-initalize the plugin-loader 2021-09-13 11:49:53 +02:00
Luong Vo
e10cd48ea2
fix: common capabilities returning nothing if no cmp_nvim_lsp (#1537)
Signed-off-by: Luong Vo <vo.tran.thanh.luong@gmail.com>
2021-09-13 11:30:06 +02:00
kylo252
8eed75d67f
refactor: use more flexible paths (#1381) 2021-09-13 11:28:15 +02:00
kylo252
38b0c3d860
fix: remove unused variables (#1532) 2021-09-13 11:10:22 +02:00
Chase Colman
e93c6abab7
Fix loading cmp config after Packer install (#1524) 2021-09-13 07:47:25 +02:00
Chase Colman
ad86b19204
refactor: add explicit setup for impatient (#1529)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-09-12 08:15:29 +02:00
kylo252
7a53fc63e0
refactor: add 32bit support for impatient (#1527) 2021-09-12 08:06:03 +02:00
Abouzar Parvan
23f535666e
bugfix: remove double quotes from scala config 2021-09-10 13:16:23 +04:30
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
Abouzar Parvan
6974e109c6
feature: unpin gitsigns to use the latest bugfix commits on their repo (#1509) 2021-09-08 20:42:17 -04:00
Chase Colman
009f004ce8
[Feature] Add modified version of impatient.nvim for caching (#1488) 2021-09-08 20:59:44 +04:30
Abouzar Parvan
f338f3577c
show correct inline diagnostics in neovim 0.6 (#1502) 2021-09-08 16:38:57 +04:30
christianchiarulli
8c83b403ef fix: vim.uri bug in 0.6 2021-09-07 19:40:40 -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
Luong Vo
5cdd742354
fix not being able to add linters and formatters to docker (#1486) 2021-09-06 21:41:54 +04:30
Abouzar Parvan
a5bd420cb7
toggleterm.nvim not toggleterm.lua 🤦 2021-09-06 18:36:28 +04:30
Abouzar Parvan
129768da1d
nvim-toggleterm has been renamed to toggleterm
Fix #1489
2021-09-06 18:35:12 +04:30
Abouzar Parvan
2ccae0a746
fix string cannot contain newlines error while showing diagnostics (#1487) 2021-09-06 12:49:00 +04:30
Christian Chiarulli
9eeb4f23da Merge branch 'rolling' of github.com:LunarVim/LunarVim into rolling 2021-09-05 18:13:28 -04:00
Christian Chiarulli
cc6685e397 feat: solidity language support with solang 2021-09-05 18:13:23 -04:00
Jakpat Mingmongkolmitr
4371ddbbc7
fix: load nvim_comment setup from core module (#1476) 2021-09-05 21:47:17 +04:30
Abouzar Parvan
e401829193
[BUGFIX] don't show table address in lualine (#1477) 2021-09-05 18:33:58 +04:30
Christian Chiarulli
f7260c6bec fix: storageclass yellow -> cyan 2021-09-05 00:01:02 -04:00
Abouzar Parvan
2fa5c64cd0
use a separate func instead of replacing the diagnostics messages (#1462)
* use a separate func instead of replacing the diagnostics messages

* fix the styling, also return if no diagnostic is available
2021-09-04 09:53:00 +02:00
Craig Anderson
f82ffdca1f
Add support for bicep (#1451) 2021-09-04 00:41:14 +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
e9d8d8cd2e
fix the string concat in logging (#1441) 2021-09-01 13:19:20 +04:30
Abouzar Parvan
92ee9552e9
better vue support (#1438) 2021-08-31 13:48:01 -04:00
christianchiarulli
b22a3ccae6 fix: blue -> cyan for telescope border 2021-08-30 18:26:25 -04:00
christianchiarulli
afa0efd5dd fix: colorschem updates 2021-08-30 18:24:58 -04:00
christianchiarulli
b6a0d5a921 fix: colorscheme Nontext = context closes #1416 2021-08-30 18:23:39 -04:00
Christian Chiarulli
dc1151a90a fix: colorscheme tweaks 2021-08-30 14:19:59 -04:00
Abouzar Parvan
ce7522095d
update tailwindcss to match lspinstall (#1427) 2021-08-30 19:04:04 +04:30
Abouzar Parvan
34301ead61
Set correct cursor in the peek preview window (#1424) 2021-08-30 18:44:34 +04:30
Abouzar Parvan
758ea6d07b
use <leader>gd to see git diff with previous head (#1426) 2021-08-30 17:20:02 +04:30
hui.liu
bc5b315e53
Setup tailwindcss language server (#1376) 2021-08-30 08:48:17 -04:00
Christian Chiarulli
0f458a0468 onedarker colorscheme 2021-08-30 00:59:23 -04:00
christianchiarulli
5ede0c906a feat: darker doc highlights 2021-08-29 14:25:27 -04:00
christianchiarulli
c7a5122fe2 fix: Cursorhold Event not firing after entering lunarvim from dashboard->telescope closes #1413 2021-08-29 14:11:04 -04:00
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
Chae SM
d0083e488d Remap 'Goto implementation' binding from gi to gI 2021-08-26 21:06:12 -07: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
chaeing
a83fffdc80
[Bugfix] Load user's autocmd custom_groups (#1393)
* Require core.autocmds before sourcing user config

* Define augroups after sourcing user config
2021-08-26 08:40:25 +02:00
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
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
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