.
This commit is contained in:
parent
510ee33e09
commit
e0a928e26a
4
.config/nvim/after/ftplugin/terraform.lua
Normal file
4
.config/nvim/after/ftplugin/terraform.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local opt_local = vim.opt_local
|
||||
|
||||
opt_local.tabstop = 2
|
||||
opt_local.shiftwidth = 2
|
@ -1,5 +1,4 @@
|
||||
local opt = vim.opt
|
||||
local opt_local = vim.opt_local
|
||||
|
||||
opt.tabstop = 2
|
||||
opt.shiftwidth = 2
|
||||
opt.textwidth = 0
|
||||
opt_local.tabstop = 2
|
||||
opt_local.shiftwidth = 2
|
||||
|
@ -1,6 +1,6 @@
|
||||
local treesitter = require('nvim-tree.configs')
|
||||
local nvim_tree = require('nvim-tree.configs')
|
||||
|
||||
treesitter.setup({
|
||||
nvim_tree.setup({
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = true,
|
||||
|
@ -21,7 +21,9 @@ local required_servers = {
|
||||
'clangd',
|
||||
'omnisharp',
|
||||
'sqls',
|
||||
'yamlls'
|
||||
'yamlls',
|
||||
'terraformls',
|
||||
'tflint',
|
||||
}
|
||||
|
||||
for _, name in pairs(required_servers) do
|
||||
@ -137,7 +139,9 @@ for _, server in ipairs({
|
||||
'clangd',
|
||||
'cmake',
|
||||
'omnisharp',
|
||||
'yamlls'
|
||||
'yamlls',
|
||||
'terraformls',
|
||||
'tflint',
|
||||
}) do
|
||||
lspconfig[server].setup(opts)
|
||||
end
|
||||
|
@ -4,5 +4,10 @@ vim.g.neo_tree_remove_legacy_commands = 1
|
||||
neotree.setup({
|
||||
filesystem = {
|
||||
use_libuv_file_watcher = true,
|
||||
window = {
|
||||
mappings = {
|
||||
["/"] = ""
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
|
@ -624,7 +624,6 @@ return packer.startup({
|
||||
'neo-tree-popup',
|
||||
'TelescopePrompt',
|
||||
},
|
||||
set_cursorline = false,
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
3
.profile
3
.profile
@ -14,8 +14,11 @@ export PATH="${PATH}:/opt/homebrew/Cellar/llvm/13.0.0_2/bin"
|
||||
if [[ "${OSTYPE}" = "darwin"* ]]; then
|
||||
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:${PATH}"
|
||||
export PATH="/Applications/Firefox Developer Edition.app/Contents/MacOS:${PATH}"
|
||||
export PATH="${HOME}/.rustup/toolchains/stable-aarch64-apple-darwin/bin:${PATH}"
|
||||
export MANPATH="/opt/homebrew/opt/coreutils/libexec/gnuman:${MANPATH}"
|
||||
|
||||
complete -o nospace -C /opt/homebrew/bin/terraform terraform
|
||||
|
||||
# Python with pyenv
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv init -)"
|
||||
|
Loading…
Reference in New Issue
Block a user