aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-02-03 11:21:08 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-02-03 11:21:08 +0100
commit587947f5bffeb2b18f80b0f713580dfa4addc08b (patch)
tree5fdd34d3672b78d9316edff785e72f8db2156aac
parent5b2542081b433fd24dc4ae35335a767815e5d986 (diff)
downloadnvim-conf-587947f5bffeb2b18f80b0f713580dfa4addc08b.tar.gz
nvim-conf-587947f5bffeb2b18f80b0f713580dfa4addc08b.zip
feat: update colorscheme config, move cucumber from vim to lua
-rw-r--r--after/ftplugin/cucumber.lua9
-rw-r--r--after/ftplugin/cucumber.vim8
-rw-r--r--lua/plugins/colorscheme.lua5
-rw-r--r--lua/plugins/lualine.lua2
4 files changed, 11 insertions, 13 deletions
diff --git a/after/ftplugin/cucumber.lua b/after/ftplugin/cucumber.lua
new file mode 100644
index 0000000..241d229
--- /dev/null
+++ b/after/ftplugin/cucumber.lua
@@ -0,0 +1,9 @@
+local set = vim.bo
+
+set.expandtab = true
+set.tabstop = 2
+set.softtabstop = 2
+set.shiftwidth = 2
+set.smartindent = false
+set.cindent = false
+set.indentexpr = ""
diff --git a/after/ftplugin/cucumber.vim b/after/ftplugin/cucumber.vim
deleted file mode 100644
index beda297..0000000
--- a/after/ftplugin/cucumber.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-setlocal expandtab
-setlocal tabstop=2
-setlocal softtabstop=2
-setlocal shiftwidth=2
-setlocal indentkeys -=<:>
-setlocal nosmartindent
-setlocal nocindent
-setlocal indentexpr=
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua
index 322161b..f4d9c35 100644
--- a/lua/plugins/colorscheme.lua
+++ b/lua/plugins/colorscheme.lua
@@ -3,9 +3,6 @@ return {
lazy = false,
priority = 1000,
config = function()
- require("tokyonight").setup {
- style = "moon",
- }
- vim.cmd.colorscheme "tokyonight"
+ vim.cmd.colorscheme "tokyonight-storm"
end,
}
diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua
index 5b84115..efa7c28 100644
--- a/lua/plugins/lualine.lua
+++ b/lua/plugins/lualine.lua
@@ -4,7 +4,7 @@ return {
config = function()
require("lualine").setup {
options = {
- theme = vim.g.alpha_lualine_color,
+ theme = "tokyonight",
icons_enabled = true,
globalstatus = true,
},