mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
perf(blink): only enable lazydev in lua files
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user