mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
适配neovim 0.11
1. 更改使用的主题 2. 更改底部状态栏样式 3. 更换彩虹括号插件适配neovim 0.11 4. 更换彩虹缩进样式 5. 添加lock文件
This commit is contained in:
parent
1a430bf24b
commit
38bedd3beb
17 changed files with 259 additions and 425 deletions
|
|
@ -9,7 +9,7 @@ vim.opt.conceallevel = 2
|
|||
-- 使用相对数
|
||||
vim.o.relativenumber = true
|
||||
-- 高亮当前行
|
||||
vim.o.cursorline = true
|
||||
vim.o.cursorline = false
|
||||
-- 一行不能完全显示时自动换行
|
||||
vim.o.wrap = true
|
||||
-- 在最后一行显示一些内容
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ mapcmd("<LEADER>sc", "set spell!")
|
|||
-- 运行代码
|
||||
vim.cmd([[
|
||||
au filetype dart noremap r :wall<cr>:Telescope flutter commands<cr>
|
||||
au filetype python noremap r :wall<cr>:set splitbelow<cr>:sp<cr>:term python %<cr>
|
||||
au filetype python noremap r :wall<cr>:set splitbelow<cr>:sp<cr>:term uv run %<cr>
|
||||
au filetype go noremap r :wall<cr>:set splitbelow<cr>:sp<cr>:term go run %<cr>
|
||||
au filetype markdown noremap r :MarkdownPreview<cr>
|
||||
au filetype rust noremap r :wall<cr>:set splitbelow<cr>:sp<cr>:term cargo run<cr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue