aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/settings.lua
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-15 20:28:13 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-15 20:28:13 +0200
commit17e319a4455f3135ed3cc759dee8ba5034fde75b (patch)
tree6d07c1875ae2736a5f3eb026a243328ab5c73fca /.config/nvim/lua/settings.lua
parent346854ff3ea83202de7437f01f1c1c336f4c3edf (diff)
update vim configHEADmaster
Diffstat (limited to '.config/nvim/lua/settings.lua')
-rw-r--r--.config/nvim/lua/settings.lua37
1 files changed, 5 insertions, 32 deletions
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua
index ca2b1e8..f6f590d 100644
--- a/.config/nvim/lua/settings.lua
+++ b/.config/nvim/lua/settings.lua
@@ -1,13 +1,7 @@
--- ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
--- ┃ ┏┓╻┏━┓ ╻ ╻╻┏┳┓ ┏━┓┏━╸╺┳╸╺┳╸╻┏┓╻┏━╸┏━┓ ┃
--- ┃ ┃┗┫┣━┫ ┃┏┛┃┃┃┃ ┗━┓┣╸ ┃ ┃ ┃┃┗┫┃╺┓┗━┓ ┃
--- ┃ ╹ ╹┗━┛ ┗┛ ╹╹ ╹ ┗━┛┗━╸ ╹ ╹ ╹╹ ╹┗━┛┗━┛ ┃
--- ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
-
vim.opt.shell = '/usr/bin/zsh'
vim.opt.path = "**"
-vim.cmd('colorscheme n8')
+vim.cmd('colorscheme knight')
vim.opt.mouse = 'a'
vim.opt.tabstop = 2
@@ -16,7 +10,7 @@ vim.opt.expandtab = false
vim.opt.shiftwidth = 2
vim.opt.smartindent = true
vim.opt.list = true;
-vim.opt.listchars = { tab= '> ', eol = '¬', trail = '·', nbsp = '•'}
+vim.opt.listchars = { tab = '> ', eol = '¬', trail = '·', nbsp = '•' }
vim.opt.splitright = true
vim.opt.splitbelow = false
vim.opt.laststatus = 2
@@ -41,29 +35,8 @@ vim.g.netrw_browser_split = 2
vim.g.netrw_keepdir = true
vim.g.netrw_winsize = 30
vim.cmd('autocmd Filetype netrw setlocal nolist')
+vim.cmd('autocmd TermOpen * startinsert')
+vim.cmd('autocmd TermOpen * setlocal nonumber')
+vim.cmd('autocmd TermOpen * setlocal signcolumn=no')
vim.cmd("call statusbar#refresh()")
-
-local status_ok, configs = pcall(require, "nvim-treesitter.configs")
-if not status_ok then
- return
-end
-
-configs.setup({
- ensure_installed = "all",
- ignore_install = { "" },
- highlight = {
- enable = true,
- disable = { "css" },
- },
- autopairs = {
- enable = true,
- },
- indent = {
- enable = true,
- },
-})
-
-vim.filetype.add({
- pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
-})