Commit graph

1149 commits

Author SHA1 Message Date
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
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
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
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
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
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
fc9090f64b remove astronauta 2021-08-10 15:07:35 -04:00
christianchiarulli
a6a10e3fdb bring back behavior we used to get from astronauta 2021-08-10 15:01:26 -04:00
kylo252
9a68500333
fix: do not overwrite plugins bindings in reload (#1284) 2021-08-10 14:53:56 -04:00
Abouzar Parvan
44e43e225b
remove the violent message for provider not found (#1283) 2021-08-10 22:17:24 +04:30
Abouzar Parvan
4f47e6cfe0
pin astronauta till we figure out the root cause (#1282) 2021-08-10 22:06:21 +04:30
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
0e09963aff
fix cmake-language-server: error: unrecognized arguments: --stdio 2021-08-09 12:43:59 +04:30
kylo252
6b98bc1378 avoid using smart_cwd if root_dir is not found 2021-08-09 08:01:04 +02: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
christianchiarulli
2345d8cf21 update green 2021-08-06 15:27:06 -04: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
Pasi Bergman
e93724d5f6
[Feature] Add PowerShell language server support (#1244) 2021-08-06 01:12:19 +04:30
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
Abouzar Parvan
43c9ca8f27
fix formating 😢 (#1243) 2021-08-05 17:31:39 +00:00
christianchiarulli
00d4ebc165 <leader>lq opens quickfix 2021-08-05 12:26:29 -04:00
christianchiarulli
358d8b0da4 set spell file to be located in .config/lvim 2021-08-05 11:41:54 -04:00
kylo252
67de24227f
chore: remove unncessary logic from utils (#1238) 2021-08-05 10:35:58 -04:00
kylo252
76a16b6676
stop registering duplicate null-ls providers (#1240) 2021-08-05 10:34:25 -04:00
Abouzar Parvan
26a2225c3a
fix the ruby root_dir for good 😭 2021-08-04 23:51:09 +04:30
Chris
97fa3d9ec9 update for lunarvim org 2021-08-04 15:20:09 -04:00
Abouzar Parvan
cfa4faf0dd
Feature/ruby support (#1234) 2021-08-04 23:46:33 +04:30
Abouzar Parvan
0842ebb280
Revert "fix GIT_DISCOVERY_ACROSS_FILESYSTEM error from solargraph (#1232)" (#1233)
This reverts commit ef70e77e95.
2021-08-04 23:42:07 +04:30
Abouzar Parvan
ef70e77e95
fix GIT_DISCOVERY_ACROSS_FILESYSTEM error from solargraph (#1232) 2021-08-04 23:40:38 +04:30
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
Pasi Bergman
db19d4c13c
[Bugfix]: Don't override formatter with empty exe (#1224)
* fix(lsp): don't override formatter with empty exe

* Check for nil value
2021-08-04 09:12:01 -04:00
kylo252
7cd03ff4e3
chore: minor cleanup to root_dir comments (#1222) 2021-08-04 11:05:51 +04:30
Abouzar Parvan
e504e1f08c
fix formatting and linting (#1220) 2021-08-04 05:28:24 +00:00
christianchiarulli
6c6fb67a88 use old vim rooter logic, fallback on new way if vimrooter is disabled 2021-08-03 23:02: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
Dery Rahman Ahaddienata
21419b244c
Keymapping custom opts (#1215) 2021-08-03 01:04:51 -04:00
William Goulois
dc3b47b7e7
[Feature]: Add possibility to focus nvimtree instead of toggle (#1074) 2021-08-03 04:54:57 +00:00
Will Leinweber
fc018cdc47
Fix lsp reporting when v.source is nil (#1209) 2021-08-03 00:51:32 -04:00
kylo252
77e283bd9c
[Refactor] Allow editing default keymaps (#1213) 2021-08-02 17:42:56 -04:00
Chris
e0f0c81ea6 less needs something defined for formatters and linters 2021-08-02 15:04:10 -04:00
Luc Sinet
6d14d7b5da
[Refactor] Adopt which key mapping style (#1210)
* Refactor keymappings to match which-key style

* Update confif example + remove redundant way of registering mappings
2021-08-02 11:19:44 -04:00
Gauravsingh Sisodia
8e88bf5258
fix: comment typo (#1211) 2021-08-02 10:56:03 +00:00
Luc Sinet
d5557f56c8
Make keymaps of bufferline and compe configurable (#1205) 2021-08-02 10:35:46 +04:30
Chris
85208a4062 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-08-01 18:14:45 -04:00
Chris
94fda1e939 no more default stylua 2021-08-01 18:14:39 -04:00
Abouzar Parvan
fbbf1b22a4
fix the formatting :pepehands: (#1208) 2021-08-01 20:51:53 +00:00
christianchiarulli
611f502104 use hls 2021-08-01 16:07:47 -04:00
christianchiarulli
8e26c44ffd haskell support 2021-08-01 15:45:49 -04:00
Chris
0e05f05e9d respect override table 2021-08-01 15:13:56 -04:00
Chris
72f5a54ec2 compe doc options 2021-08-01 12:21:06 -04:00
Luc Sinet
341a17daa6
Fix formatting issues (#1200) 2021-08-01 10:02:19 +00:00
kylo252
e2dd993ce7
refactor null-ls (#1202) 2021-08-01 10:02:10 +00:00
Abouzar Parvan
30ad4b81f5
Hotfix/eslint d (#1198) 2021-08-01 09:57:15 +00:00
christianchiarulli
326ac09045 don't use the elm stuff provided in lspinstall path 2021-07-31 20:18:29 -04:00
christianchiarulli
8ee070833e fix linter present when executable not found 2021-07-31 19:45:42 -04:00
christianchiarulli
915603ed07 udpate colorscheme 2021-07-31 18:36:51 -04:00
Chris
2b09dbf098 cleanup old tab filetype specific code 2021-07-31 15:53:00 -04:00
Chris
db9adf2fb8 borders on docs 2021-07-31 15:47:08 -04:00
Chris
d7595fbb6a tab complete is more consistent 2021-07-31 15:22:15 -04:00
chaeing
213e3961fa
[Feature] Rename lv-config.lua to config.lua (#1193)
* Rename example config files

* Update user config path in installer

* Update user config path with a variable

* Update default user config file to config.lua

* Add fallback to lv-config if config.lua not found

* Add global variable USER_CONFIG_PATH
2021-07-31 14:28:59 -04:00
Abouzar Parvan
2badb25f36
why is eslint_d so bad (#1192) 2021-07-31 15:56:25 +00:00
Abouzar Parvan
c4bff33745
show the actual command (#1191) 2021-07-31 15:42:12 +00:00
rebuilt
d700a706b1
Wraps the logic in parenthesis so it works correctly (#1190) 2021-07-31 15:32:02 +00:00
Abouzar Parvan
de200da87d
fix eslint_d issue (#1189) 2021-07-31 15:29:52 +00:00
Chris
c1ace37154 gs for signature help 2021-07-31 10:46:34 -04:00
Luc Sinet
fe5daa722f
[Feature] Expose lsp config (#1156) 2021-07-31 14:12:29 +00:00
Geet Sethi
cf16a2e826
Add the better peek functions (#1172) 2021-07-31 13:44:08 +00:00
kylo252
8157f50d13
feat: get null-ls registered providers by filetype (#1186) 2021-07-31 13:04:22 +00:00
kylo252
f36082da0d
feat: add diagnostics source name (#1147) 2021-07-31 12:52:25 +00:00
Luc Sinet
679b8b69fb
[Refactor] Define keymapppings helpers in utils.keymap (#1176) 2021-07-31 12:47:31 +00:00
kylo252
d977e7384e
cleanup formatting handler (#1185) 2021-07-31 08:19:57 +00:00
Abouzar Parvan
2db171eee4
fix luacheck issues (#1184) 2021-07-31 07:45:01 +00:00
Abouzar Parvan
b9ca4a157e
make telescope keybindings more sane (#1154) 2021-07-31 00:33:23 -04:00
Chris
997acc5720 add on init to gdscript 2021-07-31 00:32:41 -04:00
MengChen. Huang
bfb85f9620
add gdscript lsp support (#1164) 2021-07-31 00:22:25 -04:00
Chris
5646462a50 fix format_handler 2021-07-31 00:07:47 -04:00
kylo252
9d89929d9b
Enable querying lang-server formatting capabilities (#1078) 2021-07-31 00:06:08 -04:00
Abouzar Parvan
ce8c63c6bf
Fix the galaxyline null pointer issue (#1179) 2021-07-30 14:44:25 -04:00
Chris
e6aceea12e add packerstatus 2021-07-29 21:40:10 -04:00
Pasi Bergman
3eaf6d461c
fix: Use null-ls eslint diagnostics config with eslint_d exe (#1159) 2021-07-29 17:33:03 +04:30
aaronsms
9e4a2c4516 fix: change peekDefinition method location 2021-07-29 17:04:03 +08:00
Chris
667bc9a227 fix null-ls 2021-07-29 02:01:15 -04:00
Chris
045fb1425b require when needed 2021-07-29 01:47:20 -04:00
Chris
3ff9679e5a properly support terraform 2021-07-29 00:51:50 -04:00
Chris
d1ca23af34 move lsp autocommand 2021-07-28 19:18:30 -04:00
Chris
56c21c60e0 require at the top 2021-07-28 19:16:45 -04:00
Chris
3ee44cb393 service was a good idea, thank you tasty 2021-07-28 19:13:07 -04:00
Chris
e2f7cce3c5 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-28 19:03:33 -04:00
Chris
ed71e50593 refactor capabilites function 2021-07-28 19:03:29 -04:00
Pasi Bergman
76eee4f134
fix: correct vue lsp provider name (#1150) 2021-07-28 18:54:22 -04:00
Chris
f73da2a1b2 use utils in null-ls 2021-07-28 17:24:55 -04:00
Chris
2e3a07480f move istable and isstring to utils 2021-07-28 17:24:05 -04:00
Chris
15eaebff92 refactor lsp keybinds 2021-07-28 17:20:25 -04:00
Chris
78dd92b616 more refactor 2021-07-28 17:15:35 -04:00
Chris
339aa8756e Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-28 17:13:59 -04:00
Chris
f220dc4893 begin lsp refactor 2021-07-28 17:13:50 -04:00
Alvaro Troya
ebf3262701 Fix typo in insert mode keybindings 2021-07-28 22:49:05 +02: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
Chris
0dd2087b52 fix terraform 2021-07-28 14:01:19 -04:00
Abouzar Parvan
21971cbed5
null-ls formatter name is different from its command (#1141)
* null-ls formatter name is different from it's command

* add more language support

* nil is unnecessary
2021-07-28 11:03:49 -04:00
christianchiarulli
2ec446e21e don't use this plugin strategy because it makes packer sad 2021-07-28 00:02:40 -04:00
kylo252
c07b0c4731
feat: resolve null-ls tag in galaxyline (#1138) 2021-07-27 21:04:51 -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
Abouzar Parvan
025cc3e684
do not touch bufferline if nvimtree is on the right side 2021-07-27 23:54:01 +04:30
Abouzar Parvan
4b8b2b3f71
appreantly omnisharp has changed (#1136) 2021-07-27 14:33:24 -04:00
Chris
5d204a4691 basic puppet support 2021-07-27 12:27:56 -04:00
rebuilt
2b877ee53e
Conditionally enable TAB to trigger completion based on filetype. Disable completion for simple text files (#1130)
* disable tab completion for markdown

* md is markdown

* Set local keybindings conditionally based on filetype.  Disable tab complete for text files

* Rename functions and expose excluded filetypes setting for compe

Co-authored-by: abzcoding <abzcoding@gmail.com>
2021-07-27 11:02:20 -04:00
Chris
a82fd81106 remove ts-tools 2021-07-27 10:50:49 -04:00
Chris
908ce4f51a don't remap tab, too much pain involved 2021-07-27 10:34:24 -04:00
devtoi
41b5a28624
Wrap lsp default_keybindings in function instead of load on 1st require (#1128)
Co-authored-by: Johan Melin <johan.melin@paradoxinteractive.com>
2021-07-27 10:29:40 -04:00
Chris
66bf89c3d1 disable yaml for treesitter indent 2021-07-26 18:56:08 -04:00
Chris
6d3274dfec remove comment 2021-07-26 18:31:53 -04:00
rebuilt
9028294360
splits up the settings file. settings.lua gets required before lv-co… (#1097)
* split settings into callable functions

* renamed functions
2021-07-26 18:28:47 -04:00
Dylan Barker
79ff1548dd
correct spelling (chktex) (#1126) 2021-07-26 22:11:34 +00:00
Barlingo
273fdedf32
run stylua (#1122)
Co-authored-by: Diego Barranco <diegob@xps.lan>
2021-07-26 15:27:36 -04:00
Chris
4d68c6eb78 don't break for .fish 2021-07-26 14:32:29 -04:00
Chris
e5bd25b1f3 global O -> lvim 2021-07-26 13:25:13 -04:00
Luc Sinet
12c0a7441e
[Refactor] remove lv prefix (#1112)
* Rename lv-utils into utils

* Move commands defined in utils into core/commands.lua
2021-07-26 13:14:23 -04:00
ichigo-gyuunyuu
623994af2a
add fields for latex (#1118) 2021-07-26 13:14:06 -04:00
Chris
e101fe84e4 more formatter and linter fields 2021-07-26 10:09:35 -04:00
Chris
5f16a3d43f more formatters and linters 2021-07-26 10:05:39 -04:00
Chris
f976f9b99d linter fields for tf 2021-07-26 10:03:35 -04:00
rebuilt
275c20a394
BufWritePre enables format on save for lv-config.lua (#1111) 2021-07-26 17:27:18 +04:30
ichigo-gyuunyuu
30c56e0b4a
Update highlights.lua (#1114) 2021-07-26 17:26:53 +04:30
William Goulois
c1b0c6f065
fix: WarningMsg color was red (#1092) 2021-07-26 13:02:33 +04:30
Gauravsingh Sisodia
ce22121c82
fix: typos (#1110) 2021-07-26 12:57:57 +04:30
ichigo-gyuunyuu
19f3af08c3
Update init.lua (#1108) 2021-07-26 03:02:25 -04:00
christianchiarulli
d1bed12764 new footer 2021-07-26 00:46:32 -04:00
christianchiarulli
9542b7b143 compatible 0.5 treesitter 2021-07-26 00:34:40 -04:00
christianchiarulli
3c9c081c28 add svelte 2021-07-26 00:01:04 -04:00
christianchiarulli
4458223b8a basic scala support 2021-07-25 23:51:47 -04:00
christianchiarulli
e6f4b20346 autoindent issue solved finally 2021-07-25 23:28:47 -04:00
Real Human
aa356858ef
remove defaults.find_command (#1096)
Co-authored-by: tiannaru <piersinaru.cristian@gmail.com>
2021-07-25 22:04:58 -04:00
Chris
1adcb31be6 fixing more langs 2021-07-25 18:06:11 -04:00
Chris
d1613ed5e8 formatter and linter section for elm 2021-07-25 17:58:50 -04:00
Christian Chiarulli
c512ac5683
only one formatter is allowed (#1095)
Co-authored-by: christianchiarulli <chrisatmachine@gmail.com>
2021-07-25 14:45:40 -04:00
christianchiarulli
924565feba fix csharp 2021-07-25 13:58:34 -04:00
christianchiarulli
145661ca97 formatter field for csharp 2021-07-25 13:48:36 -04:00
Huynh Viet
823945cdad
Fixed the potential ugly prompt which is poor UX (#1091)
Toggleterm's winblend option leads to ugly prompt for some users

https://github.com/akinsho/nvim-toggleterm.lua/issues/70
2021-07-25 12:37:24 -04:00
Eti
9944eb8776
Show correct indentation settings in galaxyline (#1093)
Display "Tab size: " instead of "Spaces: " if indenting with tabs.
2021-07-25 12:36:53 -04:00
abzcoding
739784e43c fix formatting according to stylua 2021-07-25 16:27:48 +04:30
kylo252
e37a511abc
Fix ignored user autocommands (#1090) 2021-07-25 11:55:19 +00:00
rebuilt
47c44ae248
Move leader keybinding into the whichkey config (#1089) 2021-07-25 11:39:33 +00:00
Abouzar Parvan
c94aac07cd
removed unused loop variable index 2021-07-25 11:36:46 +00:00
Abouzar Parvan
229720a1f6
removd unused loop variable index 2021-07-25 11:36:22 +00:00
Chris
e984fa3c93 some todos 2021-07-25 03:10:08 -04:00
ichigo-gyuunyuu
9425eeced7
Update reload_lv_config (#1086)
* Updates `reload_lv_config`

Fixes a bug that reverts back to the default options on saving `lv-config.lua`

Fixes #1085

* Update init.lua

Edit: this would break changing plugin configs, now `settings.lua` is sourced before `lv-config.lua`
2021-07-25 02:50:28 -04:00
Chris
b694a3ddc2 better logic for null-ls 2021-07-25 02:49:16 -04:00
Chris
425b312799 idk how python got there 2021-07-25 02:30:46 -04:00
Chris
96c5ff62f8 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-25 02:09:17 -04:00
Chris
fb439b7309 fix vim not having a formatter field 2021-07-25 02:09:12 -04:00
Abouzar Parvan
ceb018d45d
Update init.lua 2021-07-25 05:46:09 +00:00
Abouzar Parvan
dfadb7e1c3
Update init.lua 2021-07-25 05:45:08 +00:00
Christian Chiarulli
340eacec1f
support typescript, javascriptreact and typescriptreact (#1084)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 01:24:33 -04:00
Kai
0dec3eee53
remove shift - x from buffer line (#1073)
fixes issue https://github.com/ChristianChiarulli/LunarVim/issues/1053
2021-07-25 00:28:40 -04:00
Christian Chiarulli
03fd574f4d
use lvim.builtin for compe (#1082)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 00:25:52 -04:00
Christian Chiarulli
1c3b80d041
implement language overrides (#1081)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 00:13:35 -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