diff --git a/config/default.nix b/config/default.nix index 15505a7..0c1ad70 100644 --- a/config/default.nix +++ b/config/default.nix @@ -1,6 +1,8 @@ { # Import all your configuration modules here imports = [ + ./extraLua.nix + ./lsp.nix ./colourScheme.nix ]; } diff --git a/config/extraLua.nix b/config/extraLua.nix new file mode 100644 index 0000000..ac28d30 --- /dev/null +++ b/config/extraLua.nix @@ -0,0 +1,7 @@ +{ self, ... }: + +{ + extranConfigLua = '' + print("Welcome to Vim, Hertog! :3") + ''; +} diff --git a/config/lsp.nix b/config/lsp.nix new file mode 100644 index 0000000..0206d3e --- /dev/null +++ b/config/lsp.nix @@ -0,0 +1,21 @@ +{ self, ... }: + +{ + plugins.lsp = { + enable = true; + servers = { + # Nix + nixd = { + enable = true; + }; + # Rust + rust-analyzer = { + enable = true; + }; + # Godot + gdscript = { + enable = true; + }; + }; + }; +}