summaryrefslogtreecommitdiff
path: root/users/kassouni/neovim.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-07-14 22:45:47 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-07-14 22:45:47 -0700
commit23ba623e405d0aa8d554274aacd019d7a015aa9d (patch)
treefec751fc63de4ec026d04144c30ce95d8dba80ad /users/kassouni/neovim.nix
X11 is so back
Diffstat (limited to 'users/kassouni/neovim.nix')
-rw-r--r--users/kassouni/neovim.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/users/kassouni/neovim.nix b/users/kassouni/neovim.nix
new file mode 100644
index 0000000..b601ff9
--- /dev/null
+++ b/users/kassouni/neovim.nix
@@ -0,0 +1,44 @@
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
+{
+ programs.nixvim = {
+ enable = true;
+ defaultEditor = true;
+
+ opts = {
+ number = true;
+ relativenumber = true;
+ };
+
+ colorschemes.ayu.enable = true;
+
+ plugins = {
+ # Existing plugins
+ sleuth.enable = true;
+ telescope.enable = true;
+ highlight-colors.enable = true;
+ web-devicons.enable = true;
+
+ # LSP
+ lsp = {
+ enable = true;
+ servers = {
+ # Add your language servers here, e.g.:
+ # nixd.enable = true;
+ # lua_ls.enable = true;
+ # pyright.enable = true;
+ };
+ };
+
+ # Auto-completion
+ cmp = {
+ enable = true;
+ autoEnableSources = true;
+ };
+ };
+ };
+}