-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
46 lines (31 loc) · 1.08 KB
/
init.lua
File metadata and controls
46 lines (31 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
vim.g.loaded_perl_provider = 0
if #vim.api.nvim_list_uis() == 0 then
vim.g.presence_has_setup = 1
end
require("pargara")
vim.opt.guicursor = "n-v-c:block,i-ci-ve:ver25,r-cr-o:hor20"
vim.opt.nu = true
-- vim.opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 100 -- Increased from 50ms to reduce LSP overhead (still very responsive)
vim.opt.colorcolumn = "80"
-- vim.cmd.colorscheme "industry"
vim.cmd.colorscheme "catppuccin-macchiato"
-- TODO: Fix path of ruby host, check the checkhealth command
-- let g:ruby_host_prog = '~/.asdf/installs/ruby/3.3.1/bin/neovim-ruby-host'
vim.g.ruby_host_prog = vim.fn.expand("~/.asdf/installs/ruby/3.4.1/bin/neovim-ruby-host")