some changes to neovim

This commit is contained in:
Bryan Ramos 2024-07-08 08:36:06 -04:00
parent 16cca276df
commit 380167c65b
2 changed files with 5 additions and 5 deletions

View file

@ -2,11 +2,6 @@
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua -- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here -- Add any additional autocmds here
vim.g.autoformat = false
vim.cmd([[
au BufRead,BufNewFile *.purs set filetype=purescript
]])
require("which-key").register({ require("which-key").register({
w = { w = {
d = { d = {

View file

@ -12,6 +12,10 @@ vim.cmd([[
autocmd FileType c,cpp,haskell,python setlocal tabstop=4 shiftwidth=4 softtabstop=4 autocmd FileType c,cpp,haskell,python setlocal tabstop=4 shiftwidth=4 softtabstop=4
]]) ]])
vim.cmd([[
au BufRead,BufNewFile *.purs set filetype=purescript
]])
vim.opt.ignorecase = true vim.opt.ignorecase = true
vim.opt.smartcase = true vim.opt.smartcase = true
@ -21,5 +25,6 @@ vim.opt.undofile = true
vim.o.termguicolors = true vim.o.termguicolors = true
vim.opt.guicursor = "n-v-c:block,i:block,r:block" vim.opt.guicursor = "n-v-c:block,i:block,r:block"
vim.g.autoformat = false
vim.cmd [[highlight PmenuSel guifg=#53565d guibg=#f0c981]] vim.cmd [[highlight PmenuSel guifg=#53565d guibg=#f0c981]]