mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 20:41:08 +00:00
perf(blink): only enable lazydev in lua files
This commit is contained in:
parent
011a35ccb8
commit
4961b3d4d4
1 changed files with 4 additions and 2 deletions
|
|
@ -51,6 +51,7 @@ return {
|
||||||
-- adjusts spacing to ensure icons are aligned
|
-- adjusts spacing to ensure icons are aligned
|
||||||
nerd_font_variant = "mono",
|
nerd_font_variant = "mono",
|
||||||
},
|
},
|
||||||
|
|
||||||
completion = {
|
completion = {
|
||||||
accept = {
|
accept = {
|
||||||
-- experimental auto-brackets support
|
-- experimental auto-brackets support
|
||||||
|
|
@ -185,8 +186,9 @@ return {
|
||||||
"saghen/blink.cmp",
|
"saghen/blink.cmp",
|
||||||
opts = {
|
opts = {
|
||||||
sources = {
|
sources = {
|
||||||
-- add lazydev to your completion providers
|
per_filetype = {
|
||||||
default = { "lazydev" },
|
lua = { inherit_defaults = true, "lazydev" },
|
||||||
|
},
|
||||||
providers = {
|
providers = {
|
||||||
lazydev = {
|
lazydev = {
|
||||||
name = "LazyDev",
|
name = "LazyDev",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue