all repos

init.lua @ 7c1e37c

my nvim config
2 files changed, 7 insertions(+), 14 deletions(-)
Deleted utils package
Author: flof-ik ss2316544@gmail.com
Committed at: 2022-02-28 18:04:27 +0200
Parent: 41c4d95
M lua/fk/plugin.lua

@@ -1,6 +1,10 @@

-local utils = require "fk.utils" -local get_config = utils.get_config -local get_setup = utils.get_setup +local function get_config(path) + return string.format("require[[%s]]", path) +end + +local function get_setup(path) + return string.format("require[[%s]].setup()", path) +end return require("packer").startup(function(use) use "wbthomason/packer.nvim"
D

@@ -1,11 +0,0 @@

-local M = {} - -function M.get_setup(path) - return string.format("require[[%s]].setup()", path) -end - -function M.get_config(path) - return string.format("require[[%s]]", path) -end - -return M