Compare commits
No commits in common. "ade52e693620d6632d6e053a2655ff806f24ef20" and "d2c7d381d0583da8426843a5d02486656b1d6992" have entirely different histories.
ade52e6936
...
d2c7d381d0
|
@ -7,10 +7,9 @@ return function(use)
|
||||||
vim.opt.runtimepath:append(parser_install_dir)
|
vim.opt.runtimepath:append(parser_install_dir)
|
||||||
|
|
||||||
-- Treesitter is managed by the package config, we just manage configs/deps here
|
-- Treesitter is managed by the package config, we just manage configs/deps here
|
||||||
use({ "nvim-treesitter/nvim-treesitter-refactor" })
|
-- use({ "nvim-treesitter/nvim-treesitter-refactor" })
|
||||||
use({ "RRethy/nvim-treesitter-textsubjects" })
|
-- use({ "RRethy/nvim-treesitter-textsubjects" })
|
||||||
|
-- require("nvim-treesitter.configs").setup({
|
||||||
require("nvim-treesitter.configs").setup({
|
|
||||||
-- highlight = { enable = true, disable = { "lua" } },
|
-- highlight = { enable = true, disable = { "lua" } },
|
||||||
-- indent = { enable = true },
|
-- indent = { enable = true },
|
||||||
-- refactor = { highlight_definitions = { enable = true } },
|
-- refactor = { highlight_definitions = { enable = true } },
|
||||||
|
@ -23,8 +22,8 @@ return function(use)
|
||||||
-- ["."] = "textsubjects-smart",
|
-- ["."] = "textsubjects-smart",
|
||||||
-- },
|
-- },
|
||||||
-- },
|
-- },
|
||||||
parser_install_dir = parser_install_dir,
|
-- parser_install_dir = parser_install_dir,
|
||||||
})
|
-- })
|
||||||
|
|
||||||
use({'atelierbram/vim-colors_atelier-schemes'})
|
use({'atelierbram/vim-colors_atelier-schemes'})
|
||||||
use({'robertmeta/nofrils'})
|
use({'robertmeta/nofrils'})
|
||||||
|
|
|
@ -40,7 +40,7 @@ vim.opt.undofile = true
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
vim.cmd 'colorscheme Atelier_SulphurpoolDark'
|
vim.g.colors = "Atelier_SulphurpoolDark"
|
||||||
vim.g.floaterm_keymap_toggle = '<F9>'
|
vim.g.floaterm_keymap_toggle = '<F9>'
|
||||||
vim.g.floaterm_width = 0.9
|
vim.g.floaterm_width = 0.9
|
||||||
vim.g.floaterm_height = 0.9
|
vim.g.floaterm_height = 0.9
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
local utils = { }
|
|
||||||
|
|
||||||
local scopes = {o = vim.o, b = vim.bo, w = vim.wo}
|
|
||||||
|
|
||||||
function utils.opt(scope, key, value)
|
|
||||||
scopes[scope][key] = value
|
|
||||||
if scope ~= 'o' then scopes['o'][key] = value end
|
|
||||||
end
|
|
||||||
|
|
||||||
function utils.map(mode, lhs, rhs, opts)
|
|
||||||
local options = {noremap = true}
|
|
||||||
if opts then options = vim.tbl_extend('force', options, opts) end
|
|
||||||
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
|
||||||
end
|
|
||||||
|
|
||||||
return utils
|
|
Loading…
Reference in New Issue
Block a user