diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/.gitignore b/.gitignore index 0667445..ce3d79a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Nix +.direnv + # ---> Lua # Compiled Lua sources luac.out diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0f37d00 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/cc-tweaked"] + path = lib/cc-tweaked + url = git@github.com:jiriks74/CCTweaked-LSP.git diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..a32b301 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,6 @@ +{ + "workspace.library": [ + "./lib/cc-tweaked/", + "./lib/basalt/Basalt" + ] +} diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..945df29 --- /dev/null +++ b/default.nix @@ -0,0 +1,11 @@ +let + pkgs = import {}; +in +pkgs.mkShell { + packages = with pkgs; [ + # Choose the build tools that you need + ccemux + lua + ]; +} + diff --git a/lib/cc-tweaked b/lib/cc-tweaked new file mode 160000 index 0000000..3476321 --- /dev/null +++ b/lib/cc-tweaked @@ -0,0 +1 @@ +Subproject commit 3476321e41f836626a741477fb03e68f7565982e