mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 02:24:58 +02:00
Snippets in config dir (#661)
* Update init.lua * Update init.lua * Update init.lua * Update default-config.lua
This commit is contained in:
parent
8d2ef2dfbb
commit
6a09208590
2 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@ O = {
|
|||
hl_search = false,
|
||||
transparent_window = false;
|
||||
leader_key = "space";
|
||||
vnsip_dir = vim.fn.stdpath('config') .. "/snippets",
|
||||
|
||||
-- @usage pass a table with your desired languages
|
||||
treesitter = {
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
local M = {}
|
||||
|
||||
vim.g.vsnip_snippet_dir = O.vnsip_dir
|
||||
|
||||
M.config = function()
|
||||
opt = {
|
||||
enabled = O.auto_complete,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue