diff --git a/lazy-lock.json b/lazy-lock.json index 751ea5a..6838ac1 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -23,6 +23,7 @@ "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" }, "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, "telescope.nvim": { "branch": "master", "commit": "df534c3042572fb958586facd02841e10186707c" }, + "tree-sitter-hyprlang": { "branch": "master", "commit": "6858695eba0e63b9e0fceef081d291eb352abce8" }, "ui": { "branch": "v3.0", "commit": "87578bb7e2bc106127f013f9a1edd7a716f4f6c6" }, "vim-tmux-navigator": { "branch": "master", "commit": "a9b52e7d36114d40350099f254b5f299a35df978" }, "volt": { "branch": "main", "commit": "43f72b49037c191eb3cfe26ba7a5574b4bfce226" }, diff --git a/lua/options.lua b/lua/options.lua index 73c3a7b..6e008c0 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -1,9 +1,14 @@ require "nvchad.options" -vim.o.tabstop = 4 -- A TAB character looks like 4 spaces -vim.o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character -vim.o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character -vim.o.shiftwidth = 4 -- Number of spaces inserted when indenting --- add yours here! --- local o = vim.o --- o.cursorlineopt ='both' -- to enable cursorline! +local o = vim.o +o.tabstop = 4 -- A TAB character looks like 4 spaces +o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character +o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character +o.shiftwidth = 4 -- Number of spaces inserted when indenting +o.cursorlineopt ='both' -- to enable cursorline! + +vim.filetype.add({ + extension = { + lnibuild = "bash" + } +}) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index e72b215..d217f1d 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,7 +1,7 @@ return { { "stevearc/conform.nvim", - -- event = 'BufWritePre', -- uncomment for format on save + event = 'BufWritePre', -- uncomment for format on save config = function() require "configs.conform" end, @@ -47,9 +47,13 @@ return { "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = { - "vim", "lua", "vimdoc", + "vim", "lua", "vimdoc", "html", "css" }, }, }, + { + "luckasRanarison/tree-sitter-hyprlang", + dependencies = { "nvim-treesitter/nvim-treesitter" }, + }, }