mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
some changes to neovim
This commit is contained in:
parent
16cca276df
commit
380167c65b
2 changed files with 5 additions and 5 deletions
|
|
@ -2,11 +2,6 @@
|
|||
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||
-- Add any additional autocmds here
|
||||
|
||||
vim.g.autoformat = false
|
||||
vim.cmd([[
|
||||
au BufRead,BufNewFile *.purs set filetype=purescript
|
||||
]])
|
||||
|
||||
require("which-key").register({
|
||||
w = {
|
||||
d = {
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ vim.cmd([[
|
|||
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.smartcase = true
|
||||
|
||||
|
|
@ -21,5 +25,6 @@ vim.opt.undofile = true
|
|||
|
||||
vim.o.termguicolors = true
|
||||
vim.opt.guicursor = "n-v-c:block,i:block,r:block"
|
||||
vim.g.autoformat = false
|
||||
|
||||
vim.cmd [[highlight PmenuSel guifg=#53565d guibg=#f0c981]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue