more minor stuff
This commit is contained in:
parent
41d779e3c7
commit
9bffccefba
3
lua/.luarc.json
Normal file
3
lua/.luarc.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"workspace.checkThirdParty": false
|
||||
}
|
|
@ -20,6 +20,7 @@ return {
|
|||
{ ',gs', builtin.git_status, desc = "Git status" },
|
||||
{ ',s', builtin.lsp_dynamic_workspace_symbols, desc = "Symbols" },
|
||||
{ 'g/', builtin.live_grep, desc = "Live grep" },
|
||||
{ 'g:', builtin.command_history, desc = "Command history" },
|
||||
{ '<C-/>', builtin.current_buffer_fuzzy_find, desc = "Fuzzy find" },
|
||||
{ '<leader>*', builtin.grep_string, desc = "Find at cursor" },
|
||||
{ 'gb', builtin.buffers, desc = "Switch buffer" },
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
return {
|
||||
{
|
||||
'stevearc/dressing.nvim',
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope-ui-select.nvim',
|
||||
},
|
||||
opts = {
|
||||
select = {
|
||||
backend = { 'telescope' }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
opts = {
|
||||
char = "",
|
||||
char_highlight_list = {
|
||||
"Normal",
|
||||
"CursorLine",
|
||||
},
|
||||
space_char_highlight_list = {
|
||||
"Normal",
|
||||
"CursorLine",
|
||||
},
|
||||
show_trailing_blankline_indent = false,
|
||||
show_current_context = true,
|
||||
show_current_context_start = true,
|
||||
},
|
||||
}
|
||||
{
|
||||
'stevearc/dressing.nvim',
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope-ui-select.nvim',
|
||||
},
|
||||
opts = {
|
||||
select = {
|
||||
backend = { 'telescope' }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
opts = {
|
||||
char = "",
|
||||
char_highlight_list = {
|
||||
"Whitespace",
|
||||
"CursorLine",
|
||||
},
|
||||
space_char_highlight_list = {
|
||||
"Whitespace",
|
||||
"CursorLine",
|
||||
},
|
||||
show_trailing_blankline_indent = false,
|
||||
show_current_context = true,
|
||||
show_current_context_start = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
7
plugin/scaladeps.lua
Normal file
7
plugin/scaladeps.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
local sbtToScalaCLI = function()
|
||||
vim.cmd[[s/\s*libraryDependencies\s*+=\s*/\/\/> using dep /]]
|
||||
vim.cmd[[s/" \(%\+\) "/\=repeat(":", strlen(submatch(1)))/g]]
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>dep", sbtToScalaCLI, { noremap = true, silent = true, desc = "Convert sbt dependency to Scala CLI" })
|
Loading…
Reference in a new issue