many changes
This commit is contained in:
parent
900b2d0b24
commit
dcbe6a8f9b
@ -1,7 +1,7 @@
|
||||
local dap = require('dap')
|
||||
dap.adapters.lldb = {
|
||||
type = 'executable',
|
||||
command = '/usr/bin/lldb-vscode',
|
||||
command = '/usr/bin/lldb-dap',
|
||||
name = 'lldb'
|
||||
}
|
||||
|
||||
|
19
after/plugin/dap/dap-dart.lua
Normal file
19
after/plugin/dap/dap-dart.lua
Normal file
@ -0,0 +1,19 @@
|
||||
local dap = require('dap')
|
||||
dap.adapters.dart = {
|
||||
type = 'executable',
|
||||
command = 'flutter',
|
||||
args = { "debug_adapter" }
|
||||
}
|
||||
|
||||
dap.configurations.dart = {
|
||||
{
|
||||
type = "dart",
|
||||
request = "launch",
|
||||
name = "Launch Flutter Program",
|
||||
-- The nvim-dap plugin populates this variable with the filename of the current buffer
|
||||
program = "${file}",
|
||||
-- The nvim-dap plugin populates this variable with the editor's current working directory
|
||||
cwd = "${workspaceFolder}",
|
||||
toolArgs = { "test", "-d", "linux" },
|
||||
}
|
||||
}
|
10
after/plugin/lsp/lsp-angular.lua
Normal file
10
after/plugin/lsp/lsp-angular.lua
Normal file
@ -0,0 +1,10 @@
|
||||
local pwd = vim.loop.cwd()
|
||||
local cmd = { "ngserver", "--stdio", "--tsProbeLocations", pwd .. "/node_modules", "--ngProbeLocations",
|
||||
pwd .. "/node_modules" }
|
||||
|
||||
require 'lspconfig'.angularls.setup {
|
||||
cmd = cmd,
|
||||
on_new_config = function(new_config, new_root_dir)
|
||||
new_config.cmd = cmd
|
||||
end,
|
||||
}
|
@ -15,4 +15,9 @@ require('flutter-tools').setup {
|
||||
}
|
||||
end,
|
||||
},
|
||||
lsp = {
|
||||
settings = {
|
||||
analysisExcludedFolders = {},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
1
after/plugin/lsp/lsp-haskell.lua
Normal file
1
after/plugin/lsp/lsp-haskell.lua
Normal file
@ -0,0 +1 @@
|
||||
require 'lspconfig'.hls.setup {}
|
@ -1 +1 @@
|
||||
require'lspconfig'.pylsp.setup{}
|
||||
require 'lspconfig'.pyright.setup {}
|
||||
|
@ -1 +1 @@
|
||||
require('lspconfig').tsserver.setup {}
|
||||
--require('lspconfig').tsserver.setup {}
|
||||
|
@ -2,6 +2,8 @@ require 'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
||||
ensure_installed = { "go", "rust", "toml", "c", "lua", "vim", "vimdoc", "query" },
|
||||
|
||||
modules = {},
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
||||
@ -9,6 +11,8 @@ require 'nvim-treesitter.configs'.setup {
|
||||
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
|
||||
auto_install = true,
|
||||
|
||||
ignore_install = {},
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
||||
|
@ -3,3 +3,4 @@ require("myworkflow.set")
|
||||
require("myworkflow.packer")
|
||||
require("myworkflow.autocommands")
|
||||
require("myworkflow.go-tests")
|
||||
require("myworkflow.ui")
|
||||
|
@ -2,6 +2,9 @@
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
-- Telescope
|
||||
use { 'nvim-telescope/telescope.nvim',
|
||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||
@ -15,9 +18,6 @@ return require('packer').startup(function(use)
|
||||
-- fugitive
|
||||
use 'tpope/vim-fugitive'
|
||||
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
-- undotree
|
||||
use 'mbbill/undotree'
|
||||
|
||||
@ -71,4 +71,7 @@ return require('packer').startup(function(use)
|
||||
|
||||
-- VimTex
|
||||
use 'lervag/vimtex'
|
||||
|
||||
--- highlight indendation with lines
|
||||
use 'lukas-reineke/indent-blankline.nvim'
|
||||
end)
|
||||
|
1
lua/myworkflow/ui.lua
Normal file
1
lua/myworkflow/ui.lua
Normal file
@ -0,0 +1 @@
|
||||
require("ibl").setup()
|
6
package-lock.json
generated
Normal file
6
package-lock.json
generated
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "nvim",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user