Compare commits
3 Commits
bd4b8d0888
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 97c897fc41 | |||
| 3924ec874d | |||
| ec12a493bc |
@@ -137,7 +137,7 @@ return {
|
||||
local project_name = vim.fn.fnamemodify(cwd, ':t')
|
||||
|
||||
-- 3. Construct your specific build path
|
||||
local auto_path = cwd .. '/build/bin/Debug-linux-x86_64/' .. project_name .. '/' .. project_name
|
||||
local auto_path = cwd .. '/build/bin/Debug-Linux-x86_64/' .. project_name .. '/' .. project_name
|
||||
|
||||
-- 4. Check if it actually exists. If it does, run it instantly!
|
||||
if vim.fn.filereadable(auto_path) == 1 then
|
||||
@@ -145,7 +145,7 @@ return {
|
||||
end
|
||||
|
||||
-- 5. Fallback: If it couldn't find it, pop open an input box so you can type it manually
|
||||
return vim.fn.input('Path to executable: ', cwd .. '/build/bin/Debug-linux-x86_64/', 'file')
|
||||
return vim.fn.input('Path to executable: ', cwd .. '/build/bin/Debug-Linux-x86_64/', 'file')
|
||||
end,
|
||||
cwd = '${workspaceFolder}',
|
||||
stopOnEntry = false,
|
||||
|
||||
@@ -306,8 +306,6 @@ return {
|
||||
'bash-language-server',
|
||||
'clang-format',
|
||||
'clangd',
|
||||
'cmake-language-server',
|
||||
'cmakelang',
|
||||
'cpplint',
|
||||
'cpptools',
|
||||
'css-lsp',
|
||||
@@ -316,6 +314,7 @@ return {
|
||||
'delve',
|
||||
'emmet-language-server',
|
||||
'goimports-reviser',
|
||||
'neocmakelsp',
|
||||
'golangci-lint',
|
||||
'golangci-lint-langserver',
|
||||
'gopls',
|
||||
|
||||
@@ -3,7 +3,7 @@ return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
branch = 'main',
|
||||
build = ':TSUpdate',
|
||||
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||
main = 'nvim-treesitter.config', -- Sets main module to use for opts
|
||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
|
||||
Reference in New Issue
Block a user