Compare commits
No commits in common. "5e0ff0dbc5e6ebd137551be4735763fe6e386261" and "1b881c1559cfc27377967ece343e29196a3313f3" have entirely different histories.
5e0ff0dbc5
...
1b881c1559
2 changed files with 3 additions and 15 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
-- example of a project specific nvim configuration file using :exrc
|
|
||||||
|
|
||||||
local conform = require 'conform';
|
|
||||||
|
|
||||||
conform.setup {
|
|
||||||
formatters_by_ft = {
|
|
||||||
python = { 'isort', 'black' },
|
|
||||||
javascript = { 'prettier', },
|
|
||||||
},
|
|
||||||
|
|
||||||
format_on_save = {
|
|
||||||
lsp_format = 'never',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
session_name=${PWD##*/}
|
session_name=${PWD##*/}
|
||||||
project_directory="$HOME/development/$session_name"
|
project_directory="$HOME/development/$session_name"
|
||||||
|
enable_formatting="false"
|
||||||
|
|
||||||
tmux has-session -t $session_name
|
tmux has-session -t $session_name
|
||||||
|
|
||||||
|
|
@ -10,7 +11,8 @@ then
|
||||||
tmux new-session \
|
tmux new-session \
|
||||||
-c $project_directory \
|
-c $project_directory \
|
||||||
-ds $session_name \
|
-ds $session_name \
|
||||||
-e "project_dir=$project_directory"
|
-e "project_dir=$project_directory" \
|
||||||
|
-e "enable_formatting=$enable_formatting"
|
||||||
|
|
||||||
# FIRST WINDOW
|
# FIRST WINDOW
|
||||||
tmux send-keys -t $session_name:0 'source ./env/bin/activate' C-m
|
tmux send-keys -t $session_name:0 'source ./env/bin/activate' C-m
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue