aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/config/lsp.lua2
-rw-r--r--nvim/lua/config/options.lua1
-rw-r--r--nvim/lua/plugins/oil-nvim.lua41
3 files changed, 21 insertions, 23 deletions
diff --git a/nvim/lua/config/lsp.lua b/nvim/lua/config/lsp.lua
index 36ebfa9..6c30fc8 100644
--- a/nvim/lua/config/lsp.lua
+++ b/nvim/lua/config/lsp.lua
@@ -1,4 +1,4 @@
-vim.lsp.enable({"rust_analyzer", "nil_ls", "denols"})
+vim.lsp.enable({"rust_analyzer", "nil_ls", "denols", "html", "cssls"})
vim.lsp.config("*", {
onAttach = function(client, _)
diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua
index 39e1a48..b703960 100644
--- a/nvim/lua/config/options.lua
+++ b/nvim/lua/config/options.lua
@@ -18,3 +18,4 @@ vim.opt.signcolumn = "yes";
vim.opt.ignorecase = true;
vim.opt.smartcase = true;
vim.opt.autochdir = true;
+vim.opt.colorcolumn = "80";
diff --git a/nvim/lua/plugins/oil-nvim.lua b/nvim/lua/plugins/oil-nvim.lua
index 285b104..0f645c3 100644
--- a/nvim/lua/plugins/oil-nvim.lua
+++ b/nvim/lua/plugins/oil-nvim.lua
@@ -1,24 +1,21 @@
return {
- {
- 'stevearc/oil.nvim',
- ---@module 'oil'
- ---@type oil.SetupOpts
- opts = {
- vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }),
- },
- -- Optional dependencies
- -- dependencies = { { "nvim-mini/mini.icons", opts = {} } },
- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
- -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
- lazy = false,
- },
- {
- "refractalize/oil-git-status.nvim",
-
- dependencies = {
- "stevearc/oil.nvim",
- },
-
- config = true,
- },
+ {
+ "stevearc/oil.nvim",
+ ---@module 'oil'
+ ---@type oil.SetupOpts
+ opts = {
+ vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }),
+ },
+ -- Optional dependencies
+ -- dependencies = { { "nvim-mini/mini.icons", opts = {} } },
+ dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
+ -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
+ lazy = false,
+ },
+ {
+ "malewicz1337/oil-git.nvim",
+ dependencies = {
+ "stevearc/oil.nvim",
+ },
+ },
}