mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-28 14:21:45 +00:00
Compare commits
No commits in common. "eb48ce27f55d4e020d1ac561abfd85cd35a2c982" and "092aa53b0073df6bc0f7d64a10d6a7231e117e98" have entirely different histories.
eb48ce27f5
...
092aa53b00
@ -1,15 +0,0 @@
|
|||||||
-- Disable the default highlight group
|
|
||||||
vim.g.conflict_marker_highlight_group = ''
|
|
||||||
|
|
||||||
-- Include text after begin and end markers
|
|
||||||
vim.g.conflict_marker_begin = '^<<<<<<< .*$'
|
|
||||||
vim.g.conflict_marker_end = '^>>>>>>> .*$'
|
|
||||||
|
|
||||||
-- Highlight groups
|
|
||||||
vim.cmd 'highlight ConflictMarkerBegin guibg=#2f7366'
|
|
||||||
vim.cmd 'highlight ConflictMarkerOurs guibg=#2e5049'
|
|
||||||
vim.cmd 'highlight ConflictMarkerTheirs guibg=#344f69'
|
|
||||||
vim.cmd 'highlight ConflictMarkerEnd guibg=#2f628e'
|
|
||||||
vim.cmd 'highlight ConflictMarkerCommonAncestorsHunk guibg=#754a81'
|
|
||||||
|
|
||||||
return { 'rhysd/conflict-marker.vim' }
|
|
@ -20,7 +20,7 @@ end
|
|||||||
|
|
||||||
local check_external_reqs = function()
|
local check_external_reqs = function()
|
||||||
-- Basic utils: `git`, `make`, `unzip`
|
-- Basic utils: `git`, `make`, `unzip`
|
||||||
for _, exe in ipairs { 'git', 'cmake', 'rg' } do
|
for _, exe in ipairs { 'git', 'make', 'unzip', 'rg' } do
|
||||||
local is_executable = vim.fn.executable(exe) == 1
|
local is_executable = vim.fn.executable(exe) == 1
|
||||||
if is_executable then
|
if is_executable then
|
||||||
vim.health.ok(string.format("Found executable: '%s'", exe))
|
vim.health.ok(string.format("Found executable: '%s'", exe))
|
||||||
|
@ -10,10 +10,10 @@ return {
|
|||||||
-- Build Step is needed for regex support in snippets
|
-- Build Step is needed for regex support in snippets
|
||||||
-- This step is not supported in many windows environments
|
-- This step is not supported in many windows environments
|
||||||
-- Remove the below condition to re-enable on windows
|
-- Remove the below condition to re-enable on windows
|
||||||
if vim.fn.has 'win32' == 1 or vim.fn.executable 'cmake' == 0 then
|
if vim.fn.has 'win32' == 1 or vim.fn.executable 'make' == 0 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
return 'cmake install_jsregexp'
|
return 'make install_jsregexp'
|
||||||
end)(),
|
end)(),
|
||||||
},
|
},
|
||||||
'saadparwaiz1/cmp_luasnip',
|
'saadparwaiz1/cmp_luasnip',
|
||||||
|
@ -78,7 +78,7 @@ return {
|
|||||||
-- Fuzzy find all the symbols in your current workspace
|
-- Fuzzy find all the symbols in your current workspace
|
||||||
-- Similar to document symbols, except searches over your whole project.
|
-- Similar to document symbols, except searches over your whole project.
|
||||||
map('<leader>ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols')
|
map('<leader>ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols')
|
||||||
-- Workspace functionality dependant on LSPs
|
-- Lesser used LSP functionality
|
||||||
map('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')
|
map('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')
|
||||||
map('<leader>wr', vim.lsp.buf.remove_workspace_folder, '[W]orkspace [R]emove Folder')
|
map('<leader>wr', vim.lsp.buf.remove_workspace_folder, '[W]orkspace [R]emove Folder')
|
||||||
|
|
||||||
@ -136,7 +136,6 @@ return {
|
|||||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
local servers = {
|
local servers = {
|
||||||
rust_analyzer = {},
|
rust_analyzer = {},
|
||||||
tailwindcss = {},
|
|
||||||
omnisharp = {},
|
omnisharp = {},
|
||||||
tsserver = {},
|
tsserver = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
@ -185,10 +184,6 @@ return {
|
|||||||
local ensure_installed = vim.tbl_keys(servers or {})
|
local ensure_installed = vim.tbl_keys(servers or {})
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
'stylua', -- Used to format lua code
|
'stylua', -- Used to format lua code
|
||||||
'eslint_d',
|
|
||||||
'prettier',
|
|
||||||
'prettierd',
|
|
||||||
'node-debug2-adapter',
|
|
||||||
})
|
})
|
||||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ return {
|
|||||||
-- `cond` is a condition used to determine whether this plugin should be
|
-- `cond` is a condition used to determine whether this plugin should be
|
||||||
-- installed and loaded.
|
-- installed and loaded.
|
||||||
cond = function()
|
cond = function()
|
||||||
return vim.fn.executable 'cmake' == 1
|
return vim.fn.executable 'make' == 1
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{ 'nvim-telescope/telescope-ui-select.nvim' },
|
{ 'nvim-telescope/telescope-ui-select.nvim' },
|
||||||
|
Loading…
Reference in New Issue
Block a user