Skip to content

Decode a settings file in json and transform it to lua table

Notifications You must be signed in to change notification settings

GitEdvard/read-settings.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

read-settings.nvim

Check for existence of a json file provided as input, read that file, transform it to a lua table and return it. If no file exists matching the provided file name, return nil.

The file must be in json format.

The file name is relative to the current working directory.

example:

local settings = require'read-settings'.read_json(".dapsettings.json")

About

Decode a settings file in json and transform it to lua table

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages